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.00113/0.00113, allocations: 104.6 kB / 16.41 MB, free: 6.5 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.001136/0.001136, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 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.25/2.25, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 59.91 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.105, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001932/1.107, allocations: 0.5946 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.207e-05/1.107, allocations: 1.453 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/1.107, allocations: 0 / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/1.107, allocations: 1.219 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-06/1.107, allocations: 2.516 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.013e-05/1.107, allocations: 8 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.189e-05/1.107, allocations: 1.656 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/1.107, allocations: 1.516 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/1.107, allocations: 1.656 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/1.108, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/1.108, allocations: 1.062 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-06/1.108, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/1.108, allocations: 3.938 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/1.108, allocations: 1.031 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.101e-05/1.108, allocations: 8.719 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.108, allocations: 5.094 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/1.108, allocations: 0 / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.108, allocations: 0 / 1.089 GB, free: 5.125 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.0002674/1.108, allocations: 316.9 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.108, allocations: 9.375 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/1.108, allocations: 1.594 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.289e-05/1.108, allocations: 162.3 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/1.108, allocations: 1.406 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/1.108, allocations: 384 / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/1.108, allocations: 33.16 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/1.108, allocations: 192 / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.108, allocations: 3.938 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.108, allocations: 1 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/1.108, allocations: 5.656 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/1.108, allocations: 148.2 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.383e-05/1.108, allocations: 17.39 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/1.108, allocations: 7.875 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/1.108, allocations: 5.125 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/1.109, allocations: 30.56 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/1.109, allocations: 0.875 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000125/1.109, allocations: 43.31 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/1.109, allocations: 52.59 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.717e-05/1.109, allocations: 90.42 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/1.109, allocations: 25.7 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/1.109, allocations: 85.23 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/1.109, allocations: 0 / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/1.109, allocations: 12.62 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.363e-05/1.109, allocations: 312.5 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/1.109, allocations: 5.094 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/1.109, allocations: 1.031 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/1.109, allocations: 7.875 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.109, allocations: 64 / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.245e-05/1.109, allocations: 40.56 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.109, allocations: 9.094 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.109, allocations: 0.7031 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.109, allocations: 8.828 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/1.109, allocations: 1.062 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.109, allocations: 5.766 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/1.109, allocations: 0 / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/1.109, allocations: 0.8125 kB / 1.091 GB, free: 3.551 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.759e-05/1.109, allocations: 115.5 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-06/1.109, allocations: 1.125 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/1.109, allocations: 7.672 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.109, allocations: 1.969 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.109, allocations: 0 / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.109, allocations: 5.312 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.449e-05/1.109, allocations: 143.5 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.109, allocations: 1.312 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/1.109, allocations: 1.562 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/1.109, allocations: 0 / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/1.109, allocations: 5.391 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/1.109, allocations: 5.062 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.109, allocations: 0 / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.402e-05/1.109, allocations: 61.25 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/1.109, allocations: 77.91 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/1.109, allocations: 4.875 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-06/1.109, allocations: 1.125 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/1.109, allocations: 0.7969 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/1.109, allocations: 5.094 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.437e-05/1.109, allocations: 75.28 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.109, allocations: 0 / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002073/1.11, allocations: 1 kB / 1.091 GB, free: 2.977 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 9.342e-05/1.11, allocations: 95.06 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.933e-05/1.11, allocations: 3.859 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.11, allocations: 4 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-06/1.11, allocations: 9.906 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/1.11, allocations: 2.734 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/1.11, allocations: 104.2 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/1.11, allocations: 0.6713 MB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/1.11, allocations: 12.75 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.11, allocations: 0 / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of Templates: time 0.0019/1.112, allocations: 330.3 kB / 1.092 GB, free: 2.031 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