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.001528/0.001528, allocations: 110.4 kB / 16.42 MB, free: 6.508 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: 185.5 kB / 17.35 MB, free: 5.738 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.17 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.584/2.584, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.098, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002095/1.101, allocations: 0.5856 MB / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.992e-05/1.101, allocations: 4 kB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/1.101, allocations: 0 / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/1.101, allocations: 3.938 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-06/1.101, allocations: 0 / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.921e-05/1.101, allocations: 4 kB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.646e-05/1.101, allocations: 7.984 kB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.701e-05/1.101, allocations: 4 kB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/1.101, allocations: 0 / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.268e-05/1.101, allocations: 3.938 kB / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/1.101, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-06/1.101, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/1.101, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/1.101, allocations: 0 / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.137e-05/1.101, allocations: 7.922 kB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.101, allocations: 0 / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/1.101, allocations: 4 kB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.101, allocations: 4 kB / 1.168 GB, free: 3.211 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.0003193/1.102, allocations: 311.5 kB / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.102, allocations: 8.062 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/1.102, allocations: 4.938 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/1.102, allocations: 164.4 kB / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/1.102, allocations: 384 / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/1.102, allocations: 384 / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.102, allocations: 34.2 kB / 1.168 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.102, allocations: 4.188 kB / 1.168 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/1.102, allocations: 7.938 kB / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.102, allocations: 0 / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/1.102, allocations: 0 / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/1.102, allocations: 145.7 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/1.102, allocations: 22.61 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/1.102, allocations: 4.859 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/1.102, allocations: 4 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/1.102, allocations: 38.56 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.605e-06/1.102, allocations: 0 / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.000136/1.102, allocations: 41.58 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/1.102, allocations: 51.41 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.317e-05/1.103, allocations: 93.84 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/1.103, allocations: 25.7 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/1.103, allocations: 80.14 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/1.103, allocations: 4.125 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/1.103, allocations: 13.72 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.103, allocations: 310.8 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/1.103, allocations: 0 / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/1.103, allocations: 4 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/1.103, allocations: 12.8 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.103, allocations: 0 / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.575e-05/1.103, allocations: 37.77 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.103, allocations: 7.984 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.103, allocations: 0 / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.103, allocations: 3.938 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/1.103, allocations: 0 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/1.103, allocations: 4 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/1.103, allocations: 0 / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/1.103, allocations: 0 / 1.169 GB, free: 1.574 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.962e-05/1.103, allocations: 105.8 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/1.103, allocations: 11.88 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/1.103, allocations: 7.125 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.103, allocations: 7.938 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.103, allocations: 0 / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/1.103, allocations: 81.09 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/1.103, allocations: 0 / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/1.103, allocations: 0 / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/1.103, allocations: 3.938 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.981e-05/1.103, allocations: 105 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001207/1.104, allocations: 214.8 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.046e-05/1.104, allocations: 3.938 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.044e-05/1.104, allocations: 75.28 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of Backend: time 3.21e-07/1.104, allocations: 0 / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003529/1.104, allocations: 76.84 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of SimCode: time 0.0003989/1.104, allocations: 0.541 MB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of Templates: time 0.002271/1.107, allocations: 184.9 kB / 1.171 GB, free: 64 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