Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001094/0.001094, allocations: 77.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.00102/0.00102, 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 0.9623/0.9623, 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.04/2.04, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.562e-05, allocations: 7.125 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001523/0.001548, allocations: 0.8347 MB / 0.8802 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.001662, allocations: 43.78 kB / 0.8803 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.001712, allocations: 0 / 0.8803 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.001748, allocations: 7.875 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.001831, allocations: 12.42 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.066e-05/0.001871, allocations: 19.97 kB / 0.8803 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.011e-05/0.001961, allocations: 63.83 kB / 0.8804 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.002068, allocations: 23.98 kB / 0.8804 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.002157, allocations: 44.72 kB / 0.8804 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.002193, allocations: 23.91 kB / 0.8804 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.002208, allocations: 5.031 kB / 0.8804 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-06/0.002215, allocations: 4 kB / 0.8805 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.00224, allocations: 15.92 kB / 0.8805 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.002261, allocations: 17.05 kB / 0.8805 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.002347, allocations: 43.83 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002349, allocations: 0 / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00235, allocations: 1.125 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.002354, allocations: 0 / 0.8805 GB, free: 4.898 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.0003231/0.002677, allocations: 412.2 kB / 0.8809 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.002709, allocations: 12.94 kB / 0.8809 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.00274, allocations: 12.89 kB / 0.8809 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.002858, allocations: 137.2 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.002869, allocations: 4.375 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.002879, allocations: 8.969 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.002976, allocations: 81.53 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.002984, allocations: 0.7188 kB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.002993, allocations: 9.5 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.002999, allocations: 384 / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.893e-05/0.003028, allocations: 19.92 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.003433, allocations: 0.7269 MB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.00352, allocations: 274.8 kB / 0.8822 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.003552, allocations: 126.9 kB / 0.8823 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.003579, allocations: 123.1 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.003622, allocations: 153.4 kB / 0.8826 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.003623, allocations: 0 / 0.8826 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.397e-05/0.003677, allocations: 38.16 kB / 0.8826 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.003737, allocations: 174.6 kB / 0.8828 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.00385, allocations: 209.7 kB / 0.883 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.003857, allocations: 25.7 kB / 0.883 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.003928, allocations: 174.5 kB / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.00393, allocations: 0 / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.00396, allocations: 28.08 kB / 0.8832 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.004075, allocations: 0.4923 MB / 0.8837 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.004084, allocations: 4.969 kB / 0.8837 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.004127, allocations: 77.47 kB / 0.8837 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.00419, allocations: 88.97 kB / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.004192, allocations: 0 / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001065/0.004298, allocations: 86.39 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.004312, allocations: 8 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.004316, allocations: 0 / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.004326, allocations: 4 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.00437, allocations: 12 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.004376, allocations: 8 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.0044, allocations: 11.83 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.004403, 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 9.359e-05/0.004497, allocations: 291.7 kB / 0.8842 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.004547, allocations: 152.8 kB / 0.8844 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.004594, allocations: 160.7 kB / 0.8845 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/0.004652, allocations: 268.1 kB / 0.8848 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-05/0.004723, allocations: 272 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.707e-05/0.00478, allocations: 276 kB / 0.8853 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.004951, allocations: 488.5 kB / 0.8858 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/0.004985, allocations: 148.8 kB / 0.8859 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.005017, allocations: 148.9 kB / 0.886 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-05/0.005077, allocations: 268 kB / 0.8863 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.005135, allocations: 268.1 kB / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.687e-05/0.005191, allocations: 272.1 kB / 0.8868 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.679e-05/0.005248, allocations: 268 kB / 0.8871 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.005381, allocations: 459.8 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.005432, allocations: 156.8 kB / 0.8877 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.005494, allocations: 264.1 kB / 0.8879 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.005551, allocations: 152.8 kB / 0.8881 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.005611, allocations: 272.4 kB / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.005648, allocations: 152.8 kB / 0.8885 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.005701, allocations: 141.4 kB / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005701, allocations: 0 / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001609/0.005862, allocations: 8 kB / 0.8886 GB, free: 12.15 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.0001126/0.005974, allocations: 218.4 kB / 0.8888 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.006051, allocations: 43.56 kB / 0.8889 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.006053, allocations: 0 / 0.8889 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.006054, allocations: 0 / 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.0003053/0.006359, allocations: 0.71 MB / 0.8896 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.006582, allocations: 269.7 kB / 0.8898 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.006613, allocations: 60.05 kB / 0.8899 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.006647, allocations: 13.22 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.006678, allocations: 70.2 kB / 0.8899 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.006678, allocations: 0 / 0.8899 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.001834/0.008512, allocations: 335.7 kB / 0.8903 GB, free: 10.38 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.38704545609653]