Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_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.001116/0.001116, allocations: 109.5 kB / 16.41 MB, free: 6.445 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.001097/0.001097, allocations: 189.5 kB / 17.35 MB, free: 5.707 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.577/2.577, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002378/1.112, allocations: 0.5864 MB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.649e-05/1.112, allocations: 8 kB / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/1.112, allocations: 0 / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/1.112, allocations: 3.938 kB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-06/1.112, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.597e-05/1.112, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.344e-05/1.112, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.972e-05/1.112, allocations: 8 kB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/1.112, allocations: 3.984 kB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.394e-05/1.112, allocations: 3.938 kB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/1.112, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-06/1.112, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/1.112, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/1.112, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.546e-05/1.113, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.113, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.974e-06/1.113, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.651e-06/1.113, allocations: 4 kB / 1.168 GB, free: 3.254 MB / 0.8887 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.0004613/1.113, allocations: 315.5 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.113, allocations: 8.953 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/1.113, allocations: 4.938 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/1.113, allocations: 160.4 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.113, allocations: 384 / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/1.113, allocations: 4.359 kB / 1.168 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/1.113, allocations: 30.2 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/1.113, allocations: 192 / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.113, allocations: 7.938 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.113, allocations: 4 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/1.113, allocations: 3.984 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/1.114, allocations: 149.6 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/1.114, allocations: 18.61 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/1.114, allocations: 4.859 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/1.114, allocations: 0 / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.114, allocations: 42.56 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/1.114, allocations: 3.938 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/1.114, allocations: 45.58 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.114, allocations: 51.41 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.047e-05/1.114, allocations: 89.86 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/1.114, allocations: 25.7 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/1.114, allocations: 80.14 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/1.114, allocations: 0 / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/1.114, allocations: 17.84 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.114, allocations: 314.8 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/1.114, allocations: 4 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/1.114, allocations: 4 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/1.114, allocations: 8.797 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.114, allocations: 0 / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.912e-05/1.114, allocations: 37.69 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.114, allocations: 4 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.114, allocations: 4.094 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.114, allocations: 3.938 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/1.115, allocations: 4 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.115, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-06/1.115, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/1.115, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 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.934e-05/1.115, allocations: 109.8 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/1.115, allocations: 0 / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/1.115, allocations: 3.125 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.115, allocations: 15.92 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.115, allocations: 0 / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/1.115, allocations: 77.11 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/1.115, allocations: 0 / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/1.115, allocations: 0 / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/1.115, allocations: 3.938 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.944e-05/1.115, allocations: 105 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001366/1.115, allocations: 214.8 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.733e-05/1.115, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.364e-05/1.115, allocations: 79.22 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of Backend: time 2.224e-06/1.115, allocations: 0 / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003371/1.115, allocations: 84.78 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of SimCode: time 0.0003996/1.116, allocations: 0.5291 MB / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of Templates: time 0.002192/1.118, allocations: 192 kB / 1.171 GB, free: 104 kB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches