Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.001404/0.001404, allocations: 73.97 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.001828/0.001828, allocations: 173.4 kB / 24.06 MB, free: 452 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.309 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.057/2.057, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.896e-05, allocations: 3.25 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001911/0.00193, allocations: 0.8252 MB / 0.8802 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000136/0.002066, allocations: 36.38 kB / 0.8802 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.002127, allocations: 4.906 kB / 0.8803 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.002167, allocations: 7.875 kB / 0.8803 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.002255, allocations: 11.81 kB / 0.8803 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.336e-05/0.002309, allocations: 24.59 kB / 0.8803 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.002418, allocations: 60.94 kB / 0.8804 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.002534, allocations: 27.97 kB / 0.8804 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.002641, allocations: 48.84 kB / 0.8804 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.002682, allocations: 11.92 kB / 0.8804 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.002701, allocations: 8 kB / 0.8804 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.00271, allocations: 5.125 kB / 0.8804 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.002737, allocations: 19.91 kB / 0.8805 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.002766, allocations: 15.94 kB / 0.8805 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.00286, allocations: 40.61 kB / 0.8805 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002863, allocations: 0 / 0.8805 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002863, allocations: 0.5 kB / 0.8805 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.002867, allocations: 0 / 0.8805 GB, free: 4.902 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003673/0.003234, allocations: 417.8 kB / 0.8809 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.003272, allocations: 8.031 kB / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.00331, allocations: 16.89 kB / 0.8809 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.003488, allocations: 136.4 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.003508, allocations: 9.562 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.003523, allocations: 4.375 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.00366, allocations: 83.78 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.003671, allocations: 1.281 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.003683, allocations: 4.375 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.00369, allocations: 4.375 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.003733, allocations: 24.52 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.004241, allocations: 0.7231 MB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.004347, allocations: 274.9 kB / 0.8822 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.004386, allocations: 130.8 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.00442, allocations: 123.2 kB / 0.8824 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.004473, allocations: 152.6 kB / 0.8826 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.004475, allocations: 1.031 kB / 0.8826 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.907e-05/0.004544, allocations: 33.66 kB / 0.8826 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.004613, allocations: 172.2 kB / 0.8828 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.004839, allocations: 207.8 kB / 0.883 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.004848, allocations: 25.7 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.004926, allocations: 174.5 kB / 0.8831 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.00493, allocations: 4 kB / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.004966, allocations: 34.23 kB / 0.8832 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.005096, allocations: 0.4923 MB / 0.8837 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.005107, allocations: 8 kB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.005155, allocations: 77.47 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.541e-05/0.005231, allocations: 86.94 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005233, allocations: 0.625 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001285/0.005362, allocations: 79.14 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.005377, allocations: 8.906 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.005383, allocations: 0 / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.005395, allocations: 4.625 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.005453, allocations: 16 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.005457, allocations: 256 / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.005494, allocations: 15.89 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.0055, allocations: 4 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001097/0.00561, allocations: 287.6 kB / 0.8842 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.005675, allocations: 152.8 kB / 0.8844 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.005728, allocations: 156.7 kB / 0.8845 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-05/0.005795, allocations: 268 kB / 0.8848 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.417e-05/0.005879, allocations: 268.1 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.396e-05/0.005953, allocations: 284 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.006175, allocations: 496.5 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-05/0.006215, allocations: 148.8 kB / 0.8859 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.006256, allocations: 152.9 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.66e-05/0.006322, allocations: 264.1 kB / 0.8863 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002335/0.006556, allocations: 268 kB / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-05/0.006631, allocations: 272.1 kB / 0.8868 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-05/0.006699, allocations: 272 kB / 0.8871 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.006859, allocations: 451.9 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.006921, allocations: 160.8 kB / 0.8877 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.006999, allocations: 264.1 kB / 0.8879 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.00708, allocations: 148.8 kB / 0.8881 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.007149, allocations: 268.4 kB / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.007188, allocations: 148.9 kB / 0.8885 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.37e-05/0.007252, allocations: 148.7 kB / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.007252, allocations: 0 / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000277/0.007529, allocations: 11.94 kB / 0.8886 GB, free: 12.14 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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 0.0001042/0.007633, allocations: 210.4 kB / 0.8888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.139e-05/0.007714, allocations: 35.58 kB / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.007717, allocations: 4 kB / 0.8889 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.007719, allocations: 0.5 kB / 0.8889 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.008114, allocations: 0.7101 MB / 0.8895 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.008368, allocations: 269.7 kB / 0.8898 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.045e-05/0.008409, allocations: 59.34 kB / 0.8899 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.008447, allocations: 8.719 kB / 0.8899 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.008483, allocations: 74.14 kB / 0.8899 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.008484, allocations: 4 kB / 0.8899 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.002119/0.0106, allocations: 346.7 kB / 0.8903 GB, free: 10.37 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.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.389663216192275]