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.001263/0.001263, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.002476/0.002476, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.087/2.087, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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 6.282e-06/6.282e-06, allocations: 0 / 0.8793 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.523e-05, allocations: 6.25 kB / 0.8793 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001527/0.001563, allocations: 0.6198 MB / 0.8799 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.629e-05/0.001609, allocations: 0 / 0.8799 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.001626, allocations: 4.75 kB / 0.88 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.001654, allocations: 0 / 0.88 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.001661, allocations: 0.5625 kB / 0.88 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.437e-05/0.001695, allocations: 0.5469 kB / 0.88 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.001744, allocations: 0.7188 kB / 0.88 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.001782, allocations: 3.938 kB / 0.88 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.001814, allocations: 4.875 kB / 0.88 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.057e-05/0.001834, allocations: 3.938 kB / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.001847, allocations: 0 / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.001851, allocations: 0 / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.001863, allocations: 0 / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.001879, allocations: 8.641 kB / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 4.87e-05/0.001928, allocations: 0 / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00193, allocations: 0 / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/0.001931, allocations: 0 / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.001935, allocations: 1.094 kB / 0.88 GB, free: 5.449 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.0002253/0.00216, allocations: 337.9 kB / 0.8803 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.002193, allocations: 12.03 kB / 0.8803 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.962e-05/0.002213, allocations: 0.9375 kB / 0.8803 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.673e-05/0.00227, allocations: 104.6 kB / 0.8804 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.002279, allocations: 1.344 kB / 0.8804 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.002287, allocations: 8.359 kB / 0.8804 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.648e-05/0.002344, allocations: 27.36 kB / 0.8804 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.002349, allocations: 192 / 0.8804 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.002355, allocations: 384 / 0.8804 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.002359, allocations: 6.359 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.046e-05/0.00237, allocations: 11.88 kB / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.882e-05/0.002448, allocations: 93.27 kB / 0.8806 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.707e-05/0.002485, allocations: 24.16 kB / 0.8806 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.002503, allocations: 11.78 kB / 0.8806 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-06/0.002509, allocations: 0.8125 kB / 0.8806 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.002531, allocations: 33.39 kB / 0.8806 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.002531, allocations: 0.5 kB / 0.8806 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.002636, allocations: 43.75 kB / 0.8807 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.002668, allocations: 51.41 kB / 0.8807 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.002716, allocations: 142.2 kB / 0.8808 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.002726, allocations: 25.7 kB / 0.8809 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.002767, allocations: 132 kB / 0.881 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.002803, allocations: 4.297 kB / 0.881 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.002831, allocations: 23.38 kB / 0.881 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.002982, allocations: 497.2 kB / 0.8815 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.002996, allocations: 0 / 0.8815 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.003003, allocations: 0 / 0.8815 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.003037, allocations: 12.34 kB / 0.8815 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.003039, allocations: 1.594 kB / 0.8815 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.899e-05/0.003098, allocations: 37.62 kB / 0.8815 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.003116, allocations: 8 kB / 0.8816 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.003123, allocations: 2.875 kB / 0.8816 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.003133, allocations: 0 / 0.8816 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.003195, allocations: 0 / 0.8816 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.003198, allocations: 0 / 0.8816 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.003209, allocations: 0 / 0.8816 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.003216, allocations: 4 kB / 0.8816 GB, free: 3.648 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 9.615e-05/0.003312, allocations: 156.5 kB / 0.8817 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-06/0.003316, allocations: 0 / 0.8817 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.003339, allocations: 4.656 kB / 0.8817 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.003342, allocations: 0 / 0.8817 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.003348, allocations: 11.98 kB / 0.8817 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.003352, allocations: 0 / 0.8817 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.794e-05/0.00343, allocations: 101.8 kB / 0.8818 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.003432, allocations: 0 / 0.8818 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.003437, allocations: 1.656 kB / 0.8818 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.003439, allocations: 4 kB / 0.8818 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.003443, allocations: 0 / 0.8818 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-07/0.003444, allocations: 0 / 0.8818 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.003445, allocations: 3.938 kB / 0.8818 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.214e-05/0.003517, allocations: 73.19 kB / 0.8819 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.003522, allocations: 0.7188 kB / 0.8819 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.003531, allocations: 0 / 0.8819 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-06/0.003534, allocations: 256 / 0.8819 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.003548, allocations: 4 kB / 0.8819 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.00355, allocations: 0 / 0.8819 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.003598, allocations: 123.2 kB / 0.882 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.003598, allocations: 3.938 kB / 0.882 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001162/0.003715, allocations: 0 / 0.882 GB, free: 3.109 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 9.798e-05/0.003813, allocations: 91.25 kB / 0.8821 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.314e-05/0.003886, allocations: 19.61 kB / 0.8821 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.003887, allocations: 0 / 0.8821 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-06/0.003897, allocations: 15.75 kB / 0.8821 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.775e-05/0.003995, allocations: 10.28 kB / 0.8822 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001566/0.004151, allocations: 76.84 kB / 0.8822 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.00418, allocations: 51.36 kB / 0.8823 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.259e-05/0.004193, allocations: 4 kB / 0.8823 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.004228, allocations: 66.2 kB / 0.8823 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.004228, allocations: 0 / 0.8823 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of Templates: time 0.001378/0.005606, allocations: 212 kB / 0.8825 GB, free: 2.512 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: 5.2909159967675805]