Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008875/0.0008875, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0008892/0.0008892, allocations: 177 kB / 23.36 MB, free: 1.137 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.9599/0.9599, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.232/2.232, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.366e-05, allocations: 4.844 kB / 0.8385 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001039/0.001053, allocations: 0.6115 MB / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 4.315e-05/0.001096, allocations: 4 kB / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.00111, allocations: 0 / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.001131, allocations: 0 / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.001137, allocations: 0 / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.997e-05/0.001167, allocations: 0 / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.178e-05/0.001209, allocations: 4 kB / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.063e-05/0.001239, allocations: 0 / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.001267, allocations: 3.938 kB / 0.8391 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.999e-05/0.001287, allocations: 4 kB / 0.8391 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.001299, allocations: 0 / 0.8391 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-06/0.001302, allocations: 0 / 0.8391 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.001313, allocations: 3.984 kB / 0.8391 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.112e-05/0.001325, allocations: 7.938 kB / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 3.969e-05/0.001364, allocations: 0 / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.001366, allocations: 0 / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.001366, allocations: 0 / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.324e-06/0.001369, allocations: 0 / 0.8392 GB, free: 13.6 MB / 0.8073 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.000168/0.001537, allocations: 212.8 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.001565, allocations: 8.625 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.824e-05/0.001583, allocations: 8.938 kB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.921e-05/0.001632, allocations: 105.8 kB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.00164, allocations: 384 / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.001647, allocations: 384 / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.412e-05/0.001701, allocations: 38.25 kB / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.001706, allocations: 192 / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-06/0.001711, allocations: 384 / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.001715, allocations: 384 / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-06/0.001724, allocations: 7.875 kB / 0.8395 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.564e-05/0.001779, allocations: 57.39 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.043e-05/0.00181, allocations: 18.58 kB / 0.8396 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.001823, allocations: 8.953 kB / 0.8396 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-06/0.001827, allocations: 0 / 0.8396 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.001846, allocations: 34.56 kB / 0.8396 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.001846, allocations: 0 / 0.8396 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.031e-05/0.001917, allocations: 41.62 kB / 0.8397 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.001945, allocations: 55.41 kB / 0.8397 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.457e-05/0.001969, allocations: 93.84 kB / 0.8398 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.001977, allocations: 25.7 kB / 0.8398 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.001995, allocations: 84.27 kB / 0.8399 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.002016, allocations: 3.953 kB / 0.8399 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.002034, allocations: 13.72 kB / 0.8399 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.002101, allocations: 314.8 kB / 0.8402 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.002105, allocations: 0 / 0.8402 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-06/0.002109, allocations: 0 / 0.8402 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.879e-05/0.002127, allocations: 8.859 kB / 0.8402 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.002129, allocations: 3.938 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.937e-05/0.002158, allocations: 37.62 kB / 0.8403 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.002167, allocations: 4.094 kB / 0.8403 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.00217, allocations: 8 kB / 0.8403 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.002181, allocations: 0 / 0.8403 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.002215, allocations: 0 / 0.8403 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.002217, allocations: 0 / 0.8403 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-06/0.002223, allocations: 0 / 0.8403 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.002227, allocations: 0 / 0.8403 GB, free: 12.27 MB / 0.8073 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.53e-05/0.002272, allocations: 113.8 kB / 0.8404 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-06/0.002274, allocations: 0 / 0.8404 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.076e-05/0.002285, allocations: 7 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.002287, allocations: 3.984 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.002288, allocations: 4 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.002291, allocations: 4 kB / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.92e-05/0.002331, allocations: 61.84 kB / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.002331, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-06/0.002334, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.002336, allocations: 4 kB / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-06/0.002339, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.00234, allocations: 3.938 kB / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.00234, allocations: 0 / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.209e-05/0.002382, allocations: 57.06 kB / 0.8405 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.002388, allocations: 12.02 kB / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-06/0.002393, allocations: 0 / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-06/0.002396, allocations: 0 / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-06/0.002403, allocations: 0 / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-07/0.002404, allocations: 0 / 0.8406 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.019e-06/0.002409, allocations: 4.859 kB / 0.8406 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.002409, allocations: 0 / 0.8406 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.78e-05/0.002497, allocations: 4 kB / 0.8406 GB, free: 11.95 MB / 0.8073 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 6.213e-05/0.002559, allocations: 76.41 kB / 0.8406 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.424e-05/0.002603, allocations: 16.8 kB / 0.8407 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.002605, allocations: 0 / 0.8407 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-06/0.00261, allocations: 8.859 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.382e-05/0.002654, allocations: 7.938 kB / 0.8407 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.002794, allocations: 82.19 kB / 0.8408 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.855e-05/0.002823, allocations: 59.36 kB / 0.8408 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.167e-06/0.002832, allocations: 0 / 0.8408 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.002859, allocations: 51.36 kB / 0.8409 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.00286, allocations: 0 / 0.8409 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.001354/0.004213, allocations: 213.1 kB / 0.8411 GB, free: 11.38 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.935074016917497]