Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan.P|fan.dpMachine|fan.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow") translateModel(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan.P|fan.dpMachine|fan.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.097/2.097, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 180.5 kB / 487 MB, free: 5.359 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 103.1 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.787e-06/8.807e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2912, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.508/4.8, allocations: 1.94 GB / 3.145 GB, free: 386.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/4.8, allocations: 95.88 kB / 3.145 GB, free: 386.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.655/6.455, allocations: 0.5746 GB / 3.719 GB, free: 238 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001221/6.455, allocations: 34.41 kB / 3.719 GB, free: 237.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003027/6.458, allocations: 1.459 MB / 3.721 GB, free: 236.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/6.458, allocations: 12.97 kB / 3.721 GB, free: 236.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/6.461, allocations: 0.5094 MB / 3.721 GB, free: 235.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/6.465, allocations: 1.683 MB / 3.723 GB, free: 234.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/6.465, allocations: 28 kB / 3.723 GB, free: 234.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/6.465, allocations: 48 kB / 3.723 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001202/6.466, allocations: 0.7536 MB / 3.724 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/6.468, allocations: 0.8275 MB / 3.725 GB, free: 232.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/6.468, allocations: 0 / 3.725 GB, free: 232.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/6.468, allocations: 4 kB / 3.725 GB, free: 232.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/6.468, allocations: 33.98 kB / 3.725 GB, free: 232.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/6.473, allocations: 3.776 MB / 3.728 GB, free: 228.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/6.474, allocations: 387.4 kB / 3.729 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/6.474, allocations: 358.2 kB / 3.729 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/6.474, allocations: 287.5 kB / 3.729 GB, free: 227.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/6.474, allocations: 43.05 kB / 3.729 GB, free: 227.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=56): time 3.066e-06/6.474, allocations: 0 / 3.729 GB, free: 227.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=58): time 0.004153/6.479, allocations: 1.772 MB / 3.731 GB, free: 225.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/6.479, allocations: 59.91 kB / 3.731 GB, free: 225.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008294/6.479, allocations: 0.7276 MB / 3.732 GB, free: 224.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/6.479, allocations: 25.7 kB / 3.732 GB, free: 224.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/6.48, allocations: 351.9 kB / 3.732 GB, free: 224.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/6.48, allocations: 201 kB / 3.732 GB, free: 224.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/6.48, allocations: 0 / 3.732 GB, free: 224.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/6.48, allocations: 334 kB / 3.733 GB, free: 223.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/6.48, allocations: 281.5 kB / 3.733 GB, free: 223.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/6.481, allocations: 486.6 kB / 3.734 GB, free: 223.1 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (101325.0 = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/6.485, allocations: 1.321 MB / 3.735 GB, free: 221.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/6.485, allocations: 0 / 3.735 GB, free: 221.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001382/6.486, allocations: 0.8771 MB / 3.736 GB, free: 220.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002701/6.487, allocations: 1.658 MB / 3.737 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/6.487, allocations: 11.92 kB / 3.737 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/6.487, allocations: 8 kB / 3.737 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/6.488, allocations: 223.7 kB / 3.738 GB, free: 218.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000709/6.489, allocations: 0.7196 MB / 3.738 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/6.49, allocations: 63.97 kB / 3.738 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/6.49, allocations: 43.97 kB / 3.738 GB, free: 218 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/6.49, allocations: 4 kB / 3.738 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/6.491, allocations: 0.6893 MB / 3.739 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/6.491, allocations: 7.906 kB / 3.739 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/6.491, allocations: 8.562 kB / 3.739 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/6.492, allocations: 247.6 kB / 3.739 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/6.492, allocations: 8 kB / 3.739 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/6.493, allocations: 62.89 kB / 3.739 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/6.493, allocations: 43.98 kB / 3.739 GB, free: 216.9 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001883/6.493, allocations: 128.6 kB / 3.739 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/6.493, allocations: 102.8 kB / 3.74 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/6.495, allocations: 0.7302 MB / 3.74 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/6.495, allocations: 4 kB / 3.74 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/6.495, allocations: 0 / 3.74 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008244/6.496, allocations: 0.6563 MB / 3.741 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/6.499, allocations: 1.896 MB / 3.743 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/6.499, allocations: 8.031 kB / 3.743 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/6.499, allocations: 147.8 kB / 3.743 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/6.5, allocations: 32.84 kB / 3.743 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/6.5, allocations: 19.98 kB / 3.743 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002689/6.5, allocations: 0.564 MB / 3.744 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/6.5, allocations: 7.938 kB / 3.744 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00134/6.501, allocations: 1.315 MB / 3.745 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/6.502, allocations: 251.7 kB / 3.745 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/6.502, allocations: 7.984 kB / 3.745 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/6.503, allocations: 63.88 kB / 3.745 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/6.503, allocations: 44.3 kB / 3.745 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/6.503, allocations: 27.98 kB / 3.745 GB, free: 210.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006085/6.503, allocations: 0.5612 MB / 3.746 GB, free: 210.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00207/6.505, allocations: 0.613 MB / 3.746 GB, free: 209.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.filter.s[1],fan.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002656/6.508, allocations: 2.283 MB / 3.749 GB, free: 207.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002436/6.511, allocations: 1.139 MB / 3.75 GB, free: 206.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/6.511, allocations: 0 / 3.75 GB, free: 206.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004328/6.511, allocations: 313.2 kB / 3.75 GB, free: 205.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/6.513, allocations: 495.3 kB / 3.75 GB, free: 205.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/6.516, allocations: 1.667 MB / 3.752 GB, free: 203.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008661/6.517, allocations: 1.281 MB / 3.753 GB, free: 202.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.522e-06/6.517, allocations: 0 / 3.753 GB, free: 202.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04768/6.565, allocations: 34.38 MB / 3.787 GB, free: 168.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_NegativePressureOrFlow.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches