Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002058/0.002058, allocations: 193.5 kB / 16.13 MB, free: 6.645 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.841/2.841, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 66.88 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3741, allocations: 157.4 MB / 1.052 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00198/0.3762, allocations: 0.6547 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.765e-05/0.3762, allocations: 4 kB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.3762, allocations: 0 / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.3763, allocations: 4 kB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-06/0.3763, allocations: 3.938 kB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.454e-05/0.3763, allocations: 4 kB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.3764, allocations: 0 / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.3764, allocations: 4 kB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.679e-05/0.3765, allocations: 0 / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.787e-05/0.3765, allocations: 0 / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3765, allocations: 0 / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-06/0.3765, allocations: 3.938 kB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.3765, allocations: 0 / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.3766, allocations: 0 / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.548e-05/0.3766, allocations: 7.984 kB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3766, allocations: 0 / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3766, allocations: 4 kB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.3766, allocations: 0 / 1.053 GB, free: 8.254 MB / 0.8106 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.0003152/0.377, allocations: 311.5 kB / 1.053 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.377, allocations: 12.09 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.377, allocations: 0.9375 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.3771, allocations: 160.4 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3772, allocations: 384 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3772, allocations: 4.359 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3773, allocations: 34.27 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3773, allocations: 192 / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3773, allocations: 7.875 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3773, allocations: 0 / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.3774, allocations: 7.875 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.3775, allocations: 149.7 kB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.836e-05/0.3776, allocations: 18.61 kB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.3776, allocations: 12.92 kB / 1.053 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.3776, allocations: 0 / 1.053 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3776, allocations: 34.55 kB / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3776, allocations: 0 / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.3778, allocations: 41.58 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.3778, allocations: 51.41 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.3779, allocations: 89.86 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3779, allocations: 25.83 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.3779, allocations: 84.14 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.378, allocations: 4 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.378, allocations: 13.72 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3781, allocations: 310.8 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.3782, allocations: 0 / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.3782, allocations: 7.984 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.3782, allocations: 8.859 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3782, allocations: 8.062 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.57e-05/0.3783, allocations: 33.64 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3783, allocations: 4 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3783, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3783, allocations: 3.938 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.3784, allocations: 4 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3784, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.066e-05/0.3784, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3784, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 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 7.304e-05/0.3785, allocations: 113.9 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.3785, allocations: 4 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.3785, allocations: 11.06 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3785, allocations: 0 / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3785, allocations: 0 / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3785, allocations: 0 / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.3787, allocations: 141.7 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3787, allocations: 7.938 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-06/0.3787, allocations: 4 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3787, allocations: 3.984 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3787, allocations: 7.938 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3787, allocations: 0 / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3787, allocations: 0 / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.826e-05/0.3789, allocations: 61.08 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.3789, allocations: 77.11 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.3789, allocations: 7.875 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-06/0.3789, allocations: 3.984 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.3789, allocations: 8.016 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.3789, allocations: 0 / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.694e-05/0.379, allocations: 75.28 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.379, allocations: 0 / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001947/0.3792, allocations: 4 kB / 1.055 GB, free: 6 MB / 0.8106 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 9.328e-05/0.3793, allocations: 91.53 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.985e-05/0.3794, allocations: 4 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3794, allocations: 0 / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.3794, allocations: 12 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.3795, allocations: 4 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.3797, allocations: 82.59 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.38, allocations: 0.677 MB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.207e-05/0.3801, allocations: 0 / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.3801, allocations: 7.438 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3801, allocations: 0 / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of Templates: time 0.001902/0.382, allocations: 169 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches