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.001017/0.001017, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009548/0.0009548, allocations: 181 kB / 23.36 MB, free: 1.133 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.9649/0.9649, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.424/2.424, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] 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.974e-06/1.974e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.607e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00147/0.001497, allocations: 0.6642 MB / 0.8392 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 5.739e-05/0.001554, allocations: 7.984 kB / 0.8392 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.001571, allocations: 0 / 0.8392 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.001598, allocations: 0 / 0.8392 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.001605, allocations: 0 / 0.8392 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.726e-05/0.001643, allocations: 0 / 0.8392 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.79e-05/0.00169, allocations: 0 / 0.8392 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.001727, allocations: 7.984 kB / 0.8392 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.001753, allocations: 0 / 0.8392 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.124e-05/0.001775, allocations: 0 / 0.8392 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.001786, allocations: 0 / 0.8392 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-06/0.001789, allocations: 4 kB / 0.8392 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.001805, allocations: 0 / 0.8392 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.001819, allocations: 0 / 0.8392 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.69e-05/0.001876, allocations: 4 kB / 0.8392 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.001878, allocations: 3.938 kB / 0.8392 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.31e-07/0.001878, allocations: 4 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.001882, allocations: 0 / 0.8393 GB, free: 13.46 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.0001661/0.002049, allocations: 208.8 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.002085, allocations: 8.625 kB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.002103, allocations: 0.9375 kB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.002324, allocations: 105.8 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-06/0.002331, allocations: 4.375 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-06/0.002336, allocations: 384 / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.865e-05/0.002405, allocations: 30.27 kB / 0.8396 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.00241, allocations: 192 / 0.8396 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-06/0.002416, allocations: 4.375 kB / 0.8396 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.00242, allocations: 4.359 kB / 0.8396 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-06/0.002429, allocations: 3.938 kB / 0.8396 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.45e-05/0.002494, allocations: 65.3 kB / 0.8397 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.613e-05/0.00253, allocations: 22.56 kB / 0.8397 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.002546, allocations: 12.92 kB / 0.8397 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.002551, allocations: 0 / 0.8397 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.002569, allocations: 30.56 kB / 0.8397 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.00257, allocations: 0 / 0.8397 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.252e-05/0.002642, allocations: 33.64 kB / 0.8398 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.002672, allocations: 51.41 kB / 0.8398 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.51e-05/0.002697, allocations: 93.84 kB / 0.8399 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.002706, allocations: 25.7 kB / 0.8399 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.002735, allocations: 84.14 kB / 0.84 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.002772, allocations: 3.953 kB / 0.84 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.002792, allocations: 13.84 kB / 0.84 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.002865, allocations: 318.8 kB / 0.8403 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-06/0.00287, allocations: 0 / 0.8403 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-06/0.002874, allocations: 0 / 0.8403 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.002894, allocations: 8.859 kB / 0.8403 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.002896, allocations: 0 / 0.8403 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002449/0.003141, allocations: 41.62 kB / 0.8404 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.003152, allocations: 4 kB / 0.8404 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.003157, allocations: 3.984 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.003166, allocations: 4.094 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.066e-05/0.003207, allocations: 8 kB / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.003209, allocations: 0 / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-06/0.003217, allocations: 0 / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.00322, allocations: 0 / 0.8404 GB, free: 12.13 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.684e-05/0.003267, allocations: 113.8 kB / 0.8405 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-06/0.00327, allocations: 0 / 0.8405 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.003284, allocations: 3 kB / 0.8405 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.003285, allocations: 0 / 0.8405 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.003287, allocations: 3.984 kB / 0.8405 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.003289, allocations: 0 / 0.8405 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.028e-05/0.00333, allocations: 73.83 kB / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.00333, allocations: 0 / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-06/0.003334, allocations: 0 / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.003335, allocations: 0 / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-06/0.003338, allocations: 3.938 kB / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.003338, allocations: 0 / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.003339, allocations: 4 kB / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.446e-05/0.003383, allocations: 64.98 kB / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.003387, allocations: 0 / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-06/0.003393, allocations: 4 kB / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-06/0.003396, allocations: 4.031 kB / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-06/0.003405, allocations: 0 / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-07/0.003405, allocations: 0 / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.729e-06/0.00341, allocations: 4.859 kB / 0.8407 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00341, allocations: 0 / 0.8407 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.833e-05/0.003498, allocations: 4 kB / 0.8407 GB, free: 11.8 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 5.673e-05/0.003555, allocations: 76.42 kB / 0.8407 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.544e-05/0.0036, allocations: 8.844 kB / 0.8407 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.003603, allocations: 4 kB / 0.8408 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.003608, allocations: 12.86 kB / 0.8408 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.237e-05/0.003661, allocations: 5.969 kB / 0.8408 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001407/0.003801, allocations: 78.31 kB / 0.8408 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.29e-05/0.003824, allocations: 55.36 kB / 0.8409 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.417e-06/0.003834, allocations: 0 / 0.8409 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.00386, allocations: 51.38 kB / 0.8409 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of SimCode: time 3.41e-07/0.003861, allocations: 0 / 0.8409 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.001371/0.005232, allocations: 209.1 kB / 0.8411 GB, free: 11.25 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 -s gbode -gbm=radauIIA3 -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: 5.048603587318212]