Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 169 kB / 23.82 MB, free: 0.7422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9113/0.9113, allocations: 177.1 MB / 204.2 MB, free: 5.195 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.9 MB / 0.6236 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.889e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001617/0.001636, allocations: 0.6086 MB / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 5.027e-05/0.001686, allocations: 15.97 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.001703, allocations: 1.375 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.001733, allocations: 0 / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.001739, allocations: 0 / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.86e-05/0.001778, allocations: 0 / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.001839, allocations: 1.844 kB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.00188, allocations: 0 / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.00191, allocations: 4 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.238e-05/0.001932, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.001949, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-06/0.001955, allocations: 1.156 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.001966, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.001983, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.258e-05/0.002035, allocations: 1.375 kB / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002037, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002038, allocations: 0 / 0.8121 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.002043, allocations: 4 kB / 0.8121 GB, free: 1.152 MB / 0.7605 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.0002413/0.002284, allocations: 341.9 kB / 0.8124 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.002323, allocations: 12.06 kB / 0.8124 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.002357, allocations: 0.9375 kB / 0.8125 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.511e-05/0.002422, allocations: 104.6 kB / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.002432, allocations: 1.719 kB / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.00244, allocations: 4.375 kB / 0.8126 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.488e-05/0.002515, allocations: 26.27 kB / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.002523, allocations: 0.7188 kB / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.00253, allocations: 384 / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.002538, allocations: 2.312 kB / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.002554, allocations: 15.94 kB / 0.8126 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.052e-05/0.002644, allocations: 112.6 kB / 0.8127 GB, free: 456 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.072e-05/0.002685, allocations: 31.03 kB / 0.8127 GB, free: 412 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.002707, allocations: 9.906 kB / 0.8127 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.002714, allocations: 0 / 0.8127 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.002734, allocations: 37.45 kB / 0.8128 GB, free: 352 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.002735, allocations: 0 / 0.8128 GB, free: 352 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.002842, allocations: 37.64 kB / 0.8128 GB, free: 308 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.002871, allocations: 51.91 kB / 0.8129 GB, free: 244 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.501e-05/0.002906, allocations: 143 kB / 0.813 GB, free: 88 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.002915, allocations: 29.69 kB / 0.813 GB, free: 52 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.002953, allocations: 127.4 kB / 0.8132 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.002981, allocations: 0 / 0.8132 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.003003, allocations: 21.03 kB / 0.8132 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.003106, allocations: 496.1 kB / 0.8136 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.003114, allocations: 0 / 0.8136 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.003121, allocations: 4 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.003149, allocations: 12.25 kB / 0.8137 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.003151, allocations: 1.312 kB / 0.8137 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.781e-05/0.003189, allocations: 37.64 kB / 0.8137 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.003202, allocations: 5.062 kB / 0.8137 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.003207, allocations: 3.984 kB / 0.8137 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.003222, allocations: 0 / 0.8137 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.003279, allocations: 8.609 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.003284, allocations: 0 / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-06/0.003292, allocations: 5.25 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.003303, allocations: 0 / 0.8137 GB, free: 15.32 MB / 0.7761 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 6.271e-05/0.003366, allocations: 153.4 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-06/0.003369, allocations: 0 / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.677e-05/0.003386, allocations: 12.59 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.003388, allocations: 0 / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.003391, allocations: 0 / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.003394, allocations: 0 / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.275e-05/0.003446, allocations: 116.5 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.003447, allocations: 0.9375 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-06/0.003453, allocations: 4 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.003454, allocations: 2.125 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.00346, allocations: 3.938 kB / 0.814 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.003461, allocations: 0 / 0.814 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.003462, allocations: 0 / 0.814 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.242e-05/0.003514, allocations: 72.33 kB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.00352, allocations: 6.203 kB / 0.8141 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.003528, allocations: 0 / 0.8141 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-06/0.003532, allocations: 0 / 0.8141 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.003544, allocations: 4 kB / 0.8141 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.003547, allocations: 8 kB / 0.8141 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.003576, allocations: 119.2 kB / 0.8142 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.003576, allocations: 0 / 0.8142 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001079/0.003684, allocations: 0.5 kB / 0.8142 GB, free: 14.77 MB / 0.7761 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 7.897e-05/0.003763, allocations: 100.1 kB / 0.8143 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.458e-05/0.003838, allocations: 9.375 kB / 0.8143 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.00384, allocations: 0 / 0.8143 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-06/0.003846, allocations: 15.62 kB / 0.8143 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.63e-05/0.003943, allocations: 4.484 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.004129, allocations: 85.44 kB / 0.8144 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.819e-05/0.004157, allocations: 51.36 kB / 0.8145 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.109e-05/0.004168, allocations: 0 / 0.8145 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.004187, allocations: 9.031 kB / 0.8145 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.004187, allocations: 0 / 0.8145 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.001516/0.005704, allocations: 194.2 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.782250600866973]