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.001279/0.001279, allocations: 112.6 kB / 16.42 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.001305/0.001305, allocations: 189.6 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.578/1.578, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.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.457/2.457, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.88 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001676/1.064, allocations: 0.5916 MB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.03e-05/1.064, allocations: 5.594 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/1.064, allocations: 0 / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/1.064, allocations: 3.938 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/1.064, allocations: 4 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.721e-05/1.064, allocations: 1.094 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/1.064, allocations: 5.766 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/1.064, allocations: 1.609 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/1.064, allocations: 1.125 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.698e-05/1.064, allocations: 0 / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/1.064, allocations: 0 / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-06/1.064, allocations: 1.062 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/1.064, allocations: 0.75 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/1.064, allocations: 1.125 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.342e-05/1.064, allocations: 3.938 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.064, allocations: 4.562 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/1.064, allocations: 1.344 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.064, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 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.0002401/1.065, allocations: 312.6 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.065, allocations: 8.906 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/1.065, allocations: 0.9375 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.939e-05/1.065, allocations: 163.2 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-06/1.065, allocations: 4.312 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/1.065, allocations: 384 / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.089e-05/1.065, allocations: 32.66 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.065, allocations: 5.062 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/1.065, allocations: 3.938 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/1.065, allocations: 0.9375 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.732e-05/1.065, allocations: 1.891 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.54e-05/1.065, allocations: 148.4 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.007e-05/1.065, allocations: 16.7 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/1.065, allocations: 11.84 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/1.065, allocations: 0 / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/1.065, allocations: 32.45 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/1.065, allocations: 0 / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/1.065, allocations: 44.03 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/1.065, allocations: 51.41 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.981e-05/1.065, allocations: 90.98 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/1.065, allocations: 26.53 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.163e-05/1.065, allocations: 84.14 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/1.065, allocations: 0.9062 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/1.065, allocations: 11.7 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/1.065, allocations: 316.8 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/1.066, allocations: 0.7188 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/1.066, allocations: 1.062 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/1.066, allocations: 16.92 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.066, allocations: 4 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.3e-05/1.066, allocations: 32.55 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.066, allocations: 8.281 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.066, allocations: 1.125 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.066, allocations: 3.938 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/1.066, allocations: 2.812 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.066, allocations: 0 / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/1.066, allocations: 1.25 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/1.066, allocations: 0.7969 kB / 1.091 GB, free: 3.574 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 4.984e-05/1.066, allocations: 115.2 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/1.066, allocations: 0.75 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/1.066, allocations: 5.156 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.066, allocations: 3.938 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.066, allocations: 0 / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/1.066, allocations: 79.59 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/1.066, allocations: 0 / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/1.066, allocations: 2.188 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/1.066, allocations: 0 / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.664e-05/1.066, allocations: 118.2 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.006e-05/1.066, allocations: 206.9 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.254e-05/1.066, allocations: 1.312 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.475e-05/1.066, allocations: 80.31 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of Backend: time 4.01e-07/1.066, allocations: 0 / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003373/1.066, allocations: 83.47 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002584/1.067, allocations: 0.5239 MB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of Templates: time 0.002078/1.069, allocations: 189.5 kB / 1.092 GB, free: 2.254 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches