Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.0009308/0.0009308, allocations: 73.88 kB / 20.65 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.0009559/0.0009559, allocations: 169 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 0.9785/0.9785, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.116/2.116, 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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0.875 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.257e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.00168/0.001702, allocations: 0.8188 MB / 0.8802 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.001838, allocations: 44.84 kB / 0.8802 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.00189, allocations: 1.281 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.001928, allocations: 7.875 kB / 0.8803 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.988e-05/0.002018, allocations: 15.86 kB / 0.8803 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.916e-05/0.002067, allocations: 15.98 kB / 0.8803 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.002176, allocations: 65.12 kB / 0.8804 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.002313, allocations: 31.97 kB / 0.8804 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.002426, allocations: 39.89 kB / 0.8804 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.002473, allocations: 27.06 kB / 0.8804 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.00249, allocations: 4 kB / 0.8804 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.002498, allocations: 4 kB / 0.8805 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.002522, allocations: 15.94 kB / 0.8805 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.002549, allocations: 19.91 kB / 0.8805 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.831e-05/0.002647, allocations: 31.86 kB / 0.8805 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.002651, allocations: 3.984 kB / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/0.002653, allocations: 0 / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.00266, allocations: 0.5938 kB / 0.8805 GB, free: 4.891 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.0003694/0.003029, allocations: 413.9 kB / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.003068, allocations: 11.97 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.003102, allocations: 16.89 kB / 0.8809 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.00323, allocations: 140.4 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.003244, allocations: 8.375 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.003253, allocations: 4.875 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/0.003352, allocations: 85.44 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.00336, allocations: 192 / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.00337, allocations: 8.375 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.003378, allocations: 8.344 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.003407, allocations: 25.36 kB / 0.8812 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.00383, allocations: 0.7184 MB / 0.8819 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.058e-05/0.003921, allocations: 273.6 kB / 0.8822 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.003963, allocations: 134.8 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.003997, allocations: 119.2 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.004058, allocations: 152.6 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.004059, allocations: 0 / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.173e-05/0.00412, allocations: 37.64 kB / 0.8826 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.004192, allocations: 174.6 kB / 0.8828 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.004308, allocations: 200.2 kB / 0.883 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.004317, allocations: 25.7 kB / 0.883 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.004397, allocations: 178.5 kB / 0.8831 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.0044, allocations: 3.984 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.004434, allocations: 31.33 kB / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.004566, allocations: 0.4884 MB / 0.8837 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.004578, allocations: 11.92 kB / 0.8837 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.81e-05/0.004626, allocations: 73.48 kB / 0.8837 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.899e-05/0.004705, allocations: 93.36 kB / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.004708, allocations: 0 / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001179/0.004825, allocations: 73.56 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.00484, allocations: 11.94 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.004846, allocations: 0 / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.004858, allocations: 4 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.004912, allocations: 16 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.004919, allocations: 16.17 kB / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.00495, allocations: 7.891 kB / 0.884 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.004955, allocations: 4 kB / 0.884 GB, free: 1.082 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.0001248/0.00508, allocations: 287.6 kB / 0.8842 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.005153, allocations: 152.8 kB / 0.8844 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.005213, allocations: 160.7 kB / 0.8845 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.236e-05/0.005286, allocations: 268 kB / 0.8848 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-05/0.005372, allocations: 264.1 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.327e-05/0.005445, allocations: 280 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.005666, allocations: 492.5 kB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/0.005706, allocations: 148.9 kB / 0.8859 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.005746, allocations: 152.8 kB / 0.8861 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.876e-05/0.005815, allocations: 268.1 kB / 0.8863 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/0.006031, allocations: 268 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.39e-05/0.006095, allocations: 268.1 kB / 0.8868 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.205e-05/0.006157, allocations: 268 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.006307, allocations: 455.9 kB / 0.8875 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.006362, allocations: 156.8 kB / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.006435, allocations: 264.1 kB / 0.8879 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.006514, allocations: 152.8 kB / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.006581, allocations: 268.4 kB / 0.8883 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.006617, allocations: 148.9 kB / 0.8885 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.006676, allocations: 145.4 kB / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.006676, allocations: 0 / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002414/0.006918, allocations: 8 kB / 0.8886 GB, free: 12.12 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.0001338/0.007052, allocations: 218.4 kB / 0.8888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.791e-05/0.00714, allocations: 39.58 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007141, allocations: 0 / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.007142, allocations: 0.5 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.007518, allocations: 0.7101 MB / 0.8896 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.007794, allocations: 273.7 kB / 0.8898 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.674e-05/0.007841, allocations: 59.34 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.007883, allocations: 8.719 kB / 0.8899 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.007918, allocations: 70.2 kB / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.007918, allocations: 0 / 0.8899 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.002052/0.00997, allocations: 348 kB / 0.8903 GB, free: 10.34 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.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.398221870884299]