Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_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.01028/0.01028, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.00188/0.00188, allocations: 188.9 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 73.75 kB / 0.9508 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3692, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001932/0.3712, allocations: 0.5802 MB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 5.216e-05/0.3713, allocations: 4 kB / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.3713, allocations: 0 / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.3713, allocations: 3.938 kB / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.3714, allocations: 3.938 kB / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.133e-05/0.3714, allocations: 0 / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.3715, allocations: 8 kB / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.3715, allocations: 0 / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.3716, allocations: 7.984 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.714e-05/0.3716, allocations: 0 / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3716, allocations: 0 / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.708e-06/0.3716, allocations: 0 / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.3716, allocations: 4 kB / 1.088 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.3717, allocations: 0 / 1.088 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.112e-05/0.3717, allocations: 4 kB / 1.088 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3717, allocations: 0 / 1.088 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.901e-06/0.3717, allocations: 3.984 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3717, allocations: 0 / 1.088 GB, free: 0.9375 MB / 0.8419 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.000454/0.3722, allocations: 311.6 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3723, allocations: 8.031 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.3723, allocations: 0.9375 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3724, allocations: 164.3 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3724, allocations: 4.375 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3724, allocations: 4.375 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.3725, allocations: 34.19 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3726, allocations: 192 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3726, allocations: 7.875 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3726, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.3726, allocations: 12 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3728, allocations: 141.7 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.078e-05/0.3728, allocations: 14.58 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.3729, allocations: 8.953 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3729, allocations: 0 / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3729, allocations: 38.55 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3729, allocations: 4 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.3731, allocations: 41.58 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3731, allocations: 51.41 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.006e-05/0.3732, allocations: 89.86 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3732, allocations: 25.7 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.3732, allocations: 80.14 kB / 1.089 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.3733, allocations: 0 / 1.089 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3733, allocations: 17.72 kB / 1.089 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3734, allocations: 315.3 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.3735, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.3735, allocations: 3.984 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.3735, allocations: 12.8 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3735, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.946e-05/0.3736, allocations: 33.7 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3736, allocations: 8 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3736, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3736, allocations: 8.031 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.3737, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3737, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.3737, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.3737, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 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 8.021e-05/0.3738, allocations: 105.8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.3738, allocations: 3.984 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.3739, allocations: 7.062 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3739, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3739, allocations: 4 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3739, allocations: 7.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.374, allocations: 145.6 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.374, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-06/0.374, allocations: 3.938 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.374, allocations: 3.984 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.374, allocations: 11.88 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.374, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.374, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.794e-05/0.3741, allocations: 57.14 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.3742, allocations: 77.11 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3742, allocations: 11.94 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.3742, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.3742, allocations: 3.984 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.3742, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.3742, allocations: 75.28 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3743, allocations: 0 / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001954/0.3745, allocations: 0 / 1.09 GB, free: 14.69 MB / 0.8575 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.0001118/0.3746, allocations: 111.3 kB / 1.09 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.3747, allocations: 7.938 kB / 1.09 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3747, allocations: 0 / 1.09 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-06/0.3747, allocations: 0 / 1.09 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.3748, allocations: 4 kB / 1.09 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.3751, allocations: 84.91 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3755, allocations: 0.673 MB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.497e-05/0.3755, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3755, allocations: 7.438 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3756, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of Templates: time 0.002033/0.3776, allocations: 161.2 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_9_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches