Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005335/0.005335, allocations: 105.3 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 191.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3134, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.001804/0.3152, allocations: 0.5795 MB / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 4.037e-05/0.3153, allocations: 4 kB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.3153, allocations: 0 / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.3154, allocations: 0 / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.305e-05/0.3154, allocations: 0 / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 2.94e-05/0.3154, allocations: 0 / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.3155, allocations: 4 kB / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.3155, allocations: 0 / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.3156, allocations: 0 / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.782e-05/0.3156, allocations: 3.984 kB / 1.167 GB, free: 6.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3156, allocations: 4 kB / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-06/0.3156, allocations: 3.938 kB / 1.167 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.3156, allocations: 4 kB / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.3156, allocations: 7.922 kB / 1.167 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.666e-05/0.3157, allocations: 4 kB / 1.167 GB, free: 6.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3157, allocations: 0 / 1.167 GB, free: 6.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3157, allocations: 0 / 1.167 GB, free: 6.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3157, allocations: 0 / 1.167 GB, free: 6.668 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002492/0.316, allocations: 307.6 kB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.316, allocations: 8.031 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.3161, allocations: 38.73 kB / 1.167 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.748e-05/0.3161, allocations: 0.9375 kB / 1.167 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.3162, allocations: 164.4 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.3162, allocations: 384 / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.3162, allocations: 384 / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.264e-05/0.3163, allocations: 26.27 kB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3163, allocations: 3.938 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3163, allocations: 4 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3163, allocations: 4 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.3164, allocations: 7.938 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.3165, allocations: 145.7 kB / 1.167 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.542e-05/0.3165, allocations: 18.61 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.3166, allocations: 8.859 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.3166, allocations: 0 / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.3166, allocations: 38.56 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3166, allocations: 4 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.3167, allocations: 37.58 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3168, allocations: 51.41 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.543e-05/0.3168, allocations: 89.86 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3168, allocations: 25.7 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.3169, allocations: 80.14 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3169, allocations: 3.984 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.3169, allocations: 17.72 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.317, allocations: 318.9 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.3171, allocations: 0 / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.3171, allocations: 4 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.3171, allocations: 4.859 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3171, allocations: 0 / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.401e-05/0.3172, allocations: 45.55 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3172, allocations: 4 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3172, allocations: 3.938 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3172, allocations: 4.094 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.3173, allocations: 3.984 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3173, allocations: 4 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-06/0.3173, allocations: 0 / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3173, allocations: 0 / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/0.3174, allocations: 105.8 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.3174, allocations: 4 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.3174, allocations: 7.062 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3174, allocations: 4 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3174, allocations: 4 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3174, allocations: 0 / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.151e-05/0.3175, allocations: 145.7 kB / 1.168 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3175, allocations: 0 / 1.168 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.359e-05/0.3176, allocations: 0 / 1.168 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3176, allocations: 4 kB / 1.168 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3176, allocations: 3.938 kB / 1.168 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3176, allocations: 0 / 1.168 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3176, allocations: 0 / 1.168 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.657e-05/0.3177, allocations: 65.06 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3177, allocations: 83.92 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3177, allocations: 3.938 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.3177, allocations: 0 / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.3178, allocations: 3.984 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.3178, allocations: 0 / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.3178, allocations: 75.62 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3178, allocations: 3.938 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001931/0.318, allocations: 8 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003485/0.3184, allocations: 0.6007 MB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.3184, allocations: 7.938 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3185, allocations: 0 / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-06/0.3185, allocations: 4.094 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.3186, allocations: 6.188 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.319, allocations: 123.2 kB / 1.169 GB, free: 3.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.3192, allocations: 0.669 MB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.306e-05/0.3192, allocations: 3.938 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.3192, allocations: 7.438 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of SimCode: time 3.01e-07/0.3192, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.3365, allocations: 0.9157 MB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.952, allocations: 3.953 kB / 1.171 GB, free: 2.055 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches