Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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.001104/0.001104, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009403/0.0009403, allocations: 173 kB / 23.49 MB, free: 1.062 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.9586/0.9586, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.101/2.101, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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.Media.Conversions.Validation.PressureDrop_massFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRat_m_flow|dpRat_V_flow|dpRat_equalHeatFlowRate|dWFloRat_equalHeatFlowRate",fileNamePrefix="Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate") translateModel(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRat_m_flow|dpRat_V_flow|dpRat_equalHeatFlowRate|dWFloRat_equalHeatFlowRate",fileNamePrefix="Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 0.8781 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.227e-05, allocations: 5.469 kB / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002583/0.002615, allocations: 1.275 MB / 0.8794 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.02439/0.02701, allocations: 22.7 MB / 0.9015 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.02707, allocations: 0 / 0.9015 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.02709, allocations: 0 / 0.9015 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.02745, allocations: 51.7 kB / 0.9016 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.02746, allocations: 0 / 0.9016 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.02753, allocations: 19.81 kB / 0.9016 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.0276, allocations: 7.969 kB / 0.9016 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.02766, allocations: 12 kB / 0.9016 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.02771, allocations: 7.938 kB / 0.9016 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.02773, allocations: 0 / 0.9016 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/0.04465, allocations: 10.1 MB / 0.9115 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.04466, allocations: 7.922 kB / 0.9115 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.04469, allocations: 4 kB / 0.9115 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.04482, allocations: 43.84 kB / 0.9116 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.04483, allocations: 0 / 0.9116 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.04483, allocations: 3.938 kB / 0.9116 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.04484, allocations: 0 / 0.9116 GB, free: 4.32 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003302/0.04517, allocations: 364.2 kB / 0.9119 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.04521, allocations: 8.031 kB / 0.9119 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.04526, allocations: 8.922 kB / 0.9119 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.04537, allocations: 116.6 kB / 0.912 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.04538, allocations: 384 / 0.912 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.04539, allocations: 4.375 kB / 0.912 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.563e-05/0.04549, allocations: 57.56 kB / 0.9121 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.04549, allocations: 192 / 0.9121 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.0455, allocations: 3.938 kB / 0.9121 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.04551, allocations: 0 / 0.9121 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.915e-05/0.04554, allocations: 11.98 kB / 0.9121 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.04567, allocations: 124.4 kB / 0.9122 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.28e-05/0.04574, allocations: 62.12 kB / 0.9123 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.04577, allocations: 27.42 kB / 0.9123 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.04594, allocations: 23.97 kB / 0.9123 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.04597, allocations: 33.39 kB / 0.9124 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.04597, allocations: 0 / 0.9124 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001671/0.04613, allocations: 61.56 kB / 0.9124 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.04617, allocations: 85.05 kB / 0.9125 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.04625, allocations: 162.2 kB / 0.9127 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.04626, allocations: 25.7 kB / 0.9127 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.0463, allocations: 134.9 kB / 0.9128 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.04633, allocations: 11.84 kB / 0.9128 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.04635, allocations: 23.38 kB / 0.9128 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.04646, allocations: 496.1 kB / 0.9133 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.04648, allocations: 4 kB / 0.9133 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.0465, allocations: 23.38 kB / 0.9133 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/0.04653, allocations: 27.38 kB / 0.9134 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.04654, allocations: 4 kB / 0.9134 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.953e-05/0.04659, allocations: 53.62 kB / 0.9134 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.04661, allocations: 7.938 kB / 0.9134 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.04661, allocations: 0 / 0.9134 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.04663, allocations: 7.938 kB / 0.9134 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.04668, allocations: 7.984 kB / 0.9135 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.04669, allocations: 0 / 0.9135 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.0467, allocations: 11.95 kB / 0.9135 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.04671, allocations: 0 / 0.9135 GB, free: 2.117 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.012e-05/0.04677, allocations: 160.6 kB / 0.9136 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-06/0.04677, allocations: 4 kB / 0.9136 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/0.04687, allocations: 60.94 kB / 0.9137 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.04688, allocations: 3.938 kB / 0.9137 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.04688, allocations: 0 / 0.9137 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.04689, allocations: 3.984 kB / 0.9137 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.129e-05/0.04696, allocations: 120.6 kB / 0.9138 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.04696, allocations: 0 / 0.9138 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.04697, allocations: 4 kB / 0.9138 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.04697, allocations: 0 / 0.9138 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.04698, allocations: 4.062 kB / 0.9138 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.04698, allocations: 7.984 kB / 0.9138 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.04699, allocations: 3.938 kB / 0.9138 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.172e-05/0.04707, allocations: 92.08 kB / 0.9139 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.04709, allocations: 7.938 kB / 0.9139 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.0471, allocations: 4 kB / 0.9139 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.04711, allocations: 0 / 0.9139 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.04713, allocations: 11.92 kB / 0.9139 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.04713, allocations: 0 / 0.9139 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.04717, allocations: 123.2 kB / 0.914 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.04717, allocations: 0 / 0.914 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001413/0.04731, allocations: 23.94 kB / 0.9141 GB, free: 1.414 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.000154/0.04746, allocations: 118.4 kB / 0.9142 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.29e-05/0.04756, allocations: 27.61 kB / 0.9142 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.04756, allocations: 0 / 0.9142 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.457e-05/0.04757, allocations: 24.09 kB / 0.9142 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.04776, allocations: 15.92 kB / 0.9142 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.04821, allocations: 144 kB / 0.9144 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.173e-05/0.04824, allocations: 61.84 kB / 0.9144 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.04827, allocations: 0 / 0.9144 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.04829, allocations: 12.5 kB / 0.9145 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of SimCode: time 8.52e-07/0.04829, allocations: 0 / 0.9145 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of Templates: time 0.00262/0.05091, allocations: 0.9787 MB / 0.9154 GB, free: 16 kB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe >> ../files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.sim & ./Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.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.323978843167424]