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.008294/0.008294, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001589/0.001589, allocations: 193.8 kB / 16.67 MB, free: 5.961 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.526/1.526, allocations: 222.9 MB / 240.4 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.317/2.317, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 55.91 kB / 0.9508 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164/1.165, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002266/1.168, allocations: 0.6006 MB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 5.719e-05/1.168, allocations: 0 / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/1.168, allocations: 1.125 kB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/1.168, allocations: 0.5625 kB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-06/1.168, allocations: 0 / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.913e-05/1.168, allocations: 1 kB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.452e-05/1.168, allocations: 1.781 kB / 1.088 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/1.168, allocations: 5.75 kB / 1.088 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/1.168, allocations: 0 / 1.088 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.885e-05/1.168, allocations: 5.062 kB / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/1.168, allocations: 0 / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-06/1.168, allocations: 0 / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/1.168, allocations: 1.156 kB / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/1.168, allocations: 0.5156 kB / 1.088 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.964e-05/1.168, allocations: 13.7 kB / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.168, allocations: 0 / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/1.168, allocations: 0 / 1.088 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.168, allocations: 5.031 kB / 1.088 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.0002813/1.168, allocations: 307.5 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.168, allocations: 9.375 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.132e-05/1.168, allocations: 2.688 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/1.169, allocations: 161.2 kB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/1.169, allocations: 1.438 kB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/1.169, allocations: 384 / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.43e-05/1.169, allocations: 34 kB / 1.089 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/1.169, allocations: 4.125 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/1.169, allocations: 7.938 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-06/1.169, allocations: 1.062 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.188e-05/1.169, allocations: 1.25 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.686e-05/1.169, allocations: 152.1 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/1.169, allocations: 16.94 kB / 1.089 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/1.169, allocations: 11.92 kB / 1.089 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/1.169, allocations: 0.6562 kB / 1.089 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/1.169, allocations: 35.66 kB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/1.169, allocations: 0 / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/1.169, allocations: 40.17 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/1.169, allocations: 51.41 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.253e-05/1.169, allocations: 91.75 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/1.169, allocations: 25.7 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/1.169, allocations: 80.14 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/1.169, allocations: 5.719 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/1.169, allocations: 16.16 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/1.169, allocations: 311.6 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/1.169, allocations: 0.7812 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-06/1.169, allocations: 1.031 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/1.169, allocations: 8.891 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.169, allocations: 0 / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.907e-05/1.169, allocations: 40.3 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.169, allocations: 13.09 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/1.169, allocations: 0.6562 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.169, allocations: 5.219 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/1.169, allocations: 2.078 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/1.17, allocations: 0 / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/1.17, allocations: 1.344 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/1.17, allocations: 0 / 1.09 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 5.499e-05/1.17, allocations: 108.1 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-06/1.17, allocations: 0.5625 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/1.17, allocations: 13.25 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/1.17, allocations: 0 / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.17, allocations: 0 / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.17, allocations: 1.344 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.32e-05/1.17, allocations: 148 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/1.17, allocations: 1.281 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/1.17, allocations: 1.406 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.17, allocations: 0.6094 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/1.17, allocations: 5 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.17, allocations: 4 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.17, allocations: 8.641 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.749e-05/1.17, allocations: 60.75 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/1.17, allocations: 79.16 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/1.17, allocations: 3.938 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-06/1.17, allocations: 2.125 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/1.17, allocations: 4 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/1.17, allocations: 1.344 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.003e-05/1.17, allocations: 79.31 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.17, allocations: 0 / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001979/1.17, allocations: 1.25 kB / 1.09 GB, free: 2.992 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 8.232e-05/1.17, allocations: 93.97 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.181e-05/1.17, allocations: 4.281 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.17, allocations: 0 / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.333e-06/1.17, allocations: 6.922 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/1.17, allocations: 1.656 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/1.171, allocations: 87.66 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/1.171, allocations: 0.6716 MB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.142e-05/1.171, allocations: 3.938 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/1.171, allocations: 8.75 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/1.171, allocations: 0 / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of Templates: time 0.002242/1.173, allocations: 168 kB / 1.091 GB, free: 2.043 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