Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") [: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.049/2.049, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001408/0.001408, allocations: 181.3 kB / 487 MB, free: 5.301 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.476/1.476, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.00108/0.001079, allocations: 99.3 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/6.792e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3013, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.619/4.921, allocations: 1.872 GB / 3.077 GB, free: 435 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/4.921, allocations: 84.47 kB / 3.077 GB, free: 435 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.838/9.759, allocations: 1.431 GB / 4.508 GB, free: 184.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000132/9.759, allocations: 42.53 kB / 4.508 GB, free: 184.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004045/9.763, allocations: 1.678 MB / 4.509 GB, free: 183.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/9.763, allocations: 9.75 kB / 4.509 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/9.764, allocations: 204.3 kB / 4.509 GB, free: 183.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/9.766, allocations: 0.965 MB / 4.51 GB, free: 183.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/9.766, allocations: 92.86 kB / 4.511 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-05/9.766, allocations: 56.31 kB / 4.511 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007211/9.767, allocations: 413.2 kB / 4.511 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/9.768, allocations: 0.7773 MB / 4.512 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/9.768, allocations: 8.031 kB / 4.512 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/9.768, allocations: 5.875 kB / 4.512 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/9.768, allocations: 21.66 kB / 4.512 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/9.773, allocations: 4.869 MB / 4.516 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/9.774, allocations: 397.8 kB / 4.517 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/9.774, allocations: 243.2 kB / 4.517 GB, free: 178.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/9.774, allocations: 111.1 kB / 4.517 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/9.774, allocations: 52.66 kB / 4.517 GB, free: 178.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.026e-06/9.774, allocations: 0 / 4.517 GB, free: 178.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001381/9.776, allocations: 458.4 kB / 4.518 GB, free: 178.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/9.776, allocations: 398.5 kB / 4.518 GB, free: 178.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/9.776, allocations: 0.6471 MB / 4.519 GB, free: 178 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/9.777, allocations: 28.92 kB / 4.519 GB, free: 177.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/9.777, allocations: 389.5 kB / 4.519 GB, free: 177.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/9.777, allocations: 110.9 kB / 4.519 GB, free: 177.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/9.777, allocations: 0 / 4.519 GB, free: 177.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/9.777, allocations: 317.2 kB / 4.52 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/9.777, allocations: 81.73 kB / 4.52 GB, free: 177.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/9.777, allocations: 351.5 kB / 4.52 GB, free: 177.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/9.778, allocations: 134.8 kB / 4.52 GB, free: 177.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/9.778, allocations: 0 / 4.52 GB, free: 177.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007972/9.778, allocations: 467.2 kB / 4.521 GB, free: 177 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003258/9.779, allocations: 1.313 MB / 4.522 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/9.779, allocations: 3.938 kB / 4.522 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/9.779, allocations: 63.89 kB / 4.522 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/9.779, allocations: 88.69 kB / 4.522 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/9.781, allocations: 2.345 MB / 4.524 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/9.781, allocations: 60.2 kB / 4.524 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/9.782, allocations: 29.36 kB / 4.524 GB, free: 173.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/9.782, allocations: 3.938 kB / 4.524 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005293/9.782, allocations: 285.3 kB / 4.525 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/9.782, allocations: 0 / 4.525 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/9.782, allocations: 74.09 kB / 4.525 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/9.783, allocations: 66.5 kB / 4.525 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/9.784, allocations: 2.772 MB / 4.527 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/9.785, allocations: 62.12 kB / 4.527 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/9.785, allocations: 30.58 kB / 4.528 GB, free: 170.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002351/9.785, allocations: 126.5 kB / 4.528 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/9.786, allocations: 102.1 kB / 4.528 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/9.786, allocations: 328.6 kB / 4.528 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/9.787, allocations: 7.781 kB / 4.528 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/9.787, allocations: 2.969 kB / 4.528 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/9.787, allocations: 3.875 kB / 4.528 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/9.79, allocations: 2.387 MB / 4.53 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/9.79, allocations: 11.42 kB / 4.53 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/9.79, allocations: 81.75 kB / 4.53 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/9.79, allocations: 64.8 kB / 4.531 GB, free: 169.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/9.79, allocations: 7.906 kB / 4.531 GB, free: 169.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/9.791, allocations: 2.32 MB / 4.533 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/9.791, allocations: 5.031 kB / 4.533 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001133/9.792, allocations: 0.9306 MB / 4.534 GB, free: 166.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/9.793, allocations: 220.1 kB / 4.534 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/9.793, allocations: 5.375 kB / 4.534 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/9.794, allocations: 70.86 kB / 4.534 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/9.794, allocations: 32.61 kB / 4.534 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/9.794, allocations: 21.52 kB / 4.534 GB, free: 166 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0008045/9.795, allocations: 0.4999 MB / 4.535 GB, free: 165.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003334/9.798, allocations: 0.7418 MB / 4.535 GB, free: 165.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005685/9.804, allocations: 3.935 MB / 4.539 GB, free: 164.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001791/9.805, allocations: 0.6638 MB / 4.54 GB, free: 164 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/9.805, allocations: 3.812 kB / 4.54 GB, free: 164 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/9.806, allocations: 176.2 kB / 4.54 GB, free: 164 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/9.808, allocations: 409.4 kB / 4.54 GB, free: 164 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/9.811, allocations: 1.321 MB / 4.542 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/9.811, allocations: 1.225 MB / 4.543 GB, free: 162.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.174e-06/9.811, allocations: 3.75 kB / 4.543 GB, free: 162.7 MB / 1.167 GB Notification: Performance of Templates: time 0.05789/9.869, allocations: 35.54 MB / 4.578 GB, free: 162 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches