Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_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.008453/0.008453, allocations: 96.73 kB / 15.73 MB, free: 6.055 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.001698/0.001698, allocations: 194.2 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.869/2.869, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 64.12 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3698, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001954/0.3718, allocations: 0.5919 MB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.901e-05/0.3718, allocations: 4 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.3718, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.3719, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.3719, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.665e-05/0.3719, allocations: 7.922 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.372, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.915e-05/0.372, allocations: 4 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.372, allocations: 4 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.049e-05/0.3721, allocations: 0 / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3721, allocations: 0 / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.3721, allocations: 0 / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.3721, allocations: 7.938 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.3721, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.724e-05/0.3722, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3722, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3722, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3722, allocations: 0 / 1.221 GB, free: 13.23 MB / 0.9825 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.0003/0.3725, allocations: 315.5 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3725, allocations: 12.06 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.3726, allocations: 0.9375 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.99e-05/0.3727, allocations: 164.3 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3727, allocations: 384 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.3727, allocations: 384 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.9e-05/0.3728, allocations: 34.27 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3728, allocations: 192 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.3728, allocations: 7.875 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3728, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.49e-05/0.3728, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.373, allocations: 149.7 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.373, allocations: 22.55 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.373, allocations: 8.859 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.373, allocations: 4.062 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3731, allocations: 30.56 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3731, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.3732, allocations: 33.64 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3732, allocations: 55.39 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.165e-05/0.3733, allocations: 89.86 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3733, allocations: 25.7 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.3733, allocations: 81.98 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.3733, allocations: 8 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3734, allocations: 13.66 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3735, allocations: 315 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.3735, allocations: 4 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.3735, allocations: 4 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.3735, allocations: 4.859 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3735, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.305e-05/0.3736, allocations: 41.69 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3736, allocations: 4 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3736, allocations: 96 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3736, allocations: 7.938 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.3737, allocations: 4 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3737, allocations: 3.938 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.3737, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.3737, allocations: 3.938 kB / 1.223 GB, free: 11.57 MB / 0.9825 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.726e-05/0.3738, allocations: 106.4 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.3738, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.3738, allocations: 15.05 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3738, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3738, allocations: 4 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3738, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.373e-05/0.3739, allocations: 145.7 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3739, allocations: 3.938 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.507e-05/0.3739, allocations: 8 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3739, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.3739, allocations: 3.938 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3739, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3739, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.605e-05/0.374, allocations: 61.12 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.374, allocations: 77.11 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.374, allocations: 3.938 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.374, allocations: 3.938 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.374, allocations: 4 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.374, allocations: 0 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.3741, allocations: 75.28 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001992/0.3743, allocations: 8.031 kB / 1.223 GB, free: 10.97 MB / 0.9825 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.0001065/0.3744, allocations: 95.23 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.347e-05/0.3744, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3744, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.3745, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.3746, allocations: 2.391 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.3748, allocations: 84.95 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3751, allocations: 0.6767 MB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.188e-05/0.3751, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.3751, allocations: 11.42 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3751, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Templates: time 0.001987/0.3771, allocations: 173 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches