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.0009375/0.0009375, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001006/0.001006, allocations: 169 kB / 23.02 MB, free: 1.547 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.9098/0.9098, allocations: 177.1 MB / 203.4 MB, free: 5.645 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/2, allocations: 429.5 MB / 0.6732 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.834e-06/1.834e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.046e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00104/0.001061, allocations: 0.6128 MB / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.24e-05/0.001103, allocations: 7.938 kB / 0.8787 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.001119, allocations: 1.125 kB / 0.8787 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.001148, allocations: 0 / 0.8787 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.001155, allocations: 0 / 0.8787 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.825e-05/0.001193, allocations: 1.672 kB / 0.8787 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.001249, allocations: 0 / 0.8787 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.001289, allocations: 3.984 kB / 0.8787 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.79e-05/0.001317, allocations: 6.578 kB / 0.8787 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.001338, allocations: 0 / 0.8787 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.001354, allocations: 0 / 0.8787 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-06/0.001358, allocations: 0 / 0.8787 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.00137, allocations: 5.719 kB / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.001387, allocations: 0 / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.011e-05/0.001437, allocations: 0.7656 kB / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.001439, allocations: 0 / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00144, allocations: 0 / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.001444, allocations: 6.844 kB / 0.8788 GB, free: 5.719 MB / 0.8386 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.0002343/0.001678, allocations: 328.4 kB / 0.8791 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.001714, allocations: 13.05 kB / 0.8791 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.001746, allocations: 0.9375 kB / 0.8791 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.756e-05/0.001803, allocations: 108.6 kB / 0.8792 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.001814, allocations: 384 / 0.8792 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.001823, allocations: 8.312 kB / 0.8792 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.453e-05/0.001898, allocations: 34.97 kB / 0.8792 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.001905, allocations: 192 / 0.8792 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.001913, allocations: 2.031 kB / 0.8792 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.001922, allocations: 384 / 0.8792 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.328e-05/0.001935, allocations: 9.031 kB / 0.8792 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.807e-05/0.002023, allocations: 104.6 kB / 0.8793 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.002061, allocations: 28.44 kB / 0.8794 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.002082, allocations: 11.62 kB / 0.8794 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.002088, allocations: 3.984 kB / 0.8794 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.002109, allocations: 45.45 kB / 0.8794 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.002109, allocations: 0 / 0.8794 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001046/0.002214, allocations: 29.7 kB / 0.8795 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.002251, allocations: 51.41 kB / 0.8795 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/0.002292, allocations: 142.2 kB / 0.8796 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.0023, allocations: 26.25 kB / 0.8797 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.002326, allocations: 126.9 kB / 0.8798 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.00235, allocations: 4.297 kB / 0.8798 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.00237, allocations: 19.38 kB / 0.8798 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.002469, allocations: 0.4883 MB / 0.8803 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.002477, allocations: 12.59 kB / 0.8803 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.002482, allocations: 4 kB / 0.8803 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.002508, allocations: 7.688 kB / 0.8803 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.00251, allocations: 4 kB / 0.8803 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.416e-05/0.002544, allocations: 33.7 kB / 0.8803 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.002556, allocations: 9.812 kB / 0.8804 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.002561, allocations: 0 / 0.8804 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.002573, allocations: 0 / 0.8804 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.002622, allocations: 4 kB / 0.8804 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.002627, allocations: 96 / 0.8804 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-06/0.002634, allocations: 11.88 kB / 0.8804 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.002638, allocations: 0 / 0.8804 GB, free: 3.875 MB / 0.8386 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.338e-05/0.002692, allocations: 160.6 kB / 0.8805 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-06/0.002695, allocations: 4 kB / 0.8805 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.002709, allocations: 3 kB / 0.8805 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-06/0.00271, allocations: 0 / 0.8805 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.002713, allocations: 0 / 0.8805 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.002716, allocations: 0 / 0.8805 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.838e-05/0.002764, allocations: 112.6 kB / 0.8806 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.002765, allocations: 0 / 0.8806 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.002769, allocations: 8 kB / 0.8806 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.00277, allocations: 0 / 0.8806 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.002775, allocations: 0 / 0.8806 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.002776, allocations: 0 / 0.8806 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.002778, allocations: 3.984 kB / 0.8806 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.448e-05/0.002822, allocations: 68.39 kB / 0.8807 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.002826, allocations: 4 kB / 0.8807 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-06/0.002833, allocations: 3.938 kB / 0.8807 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-06/0.002838, allocations: 4 kB / 0.8807 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.00285, allocations: 0 / 0.8807 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-07/0.00285, allocations: 4.031 kB / 0.8807 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.002876, allocations: 123.2 kB / 0.8808 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.002876, allocations: 0 / 0.8808 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001036/0.00298, allocations: 0 / 0.8808 GB, free: 3.312 MB / 0.8386 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.168e-05/0.003042, allocations: 95.19 kB / 0.8809 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.003106, allocations: 11.69 kB / 0.8809 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.003107, allocations: 0 / 0.8809 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-06/0.003114, allocations: 11.69 kB / 0.881 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.505e-05/0.003199, allocations: 128 / 0.881 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.00337, allocations: 92.78 kB / 0.881 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.753e-05/0.003397, allocations: 55.34 kB / 0.8811 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.919e-06/0.003407, allocations: 3.938 kB / 0.8811 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.003423, allocations: 8.5 kB / 0.8811 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of SimCode: time 6.32e-07/0.003424, allocations: 0 / 0.8811 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of Templates: time 0.001333/0.004757, allocations: 192.9 kB / 0.8813 GB, free: 2.785 MB / 0.8386 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.990190392360091]