Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") [: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 7.0.3-maint.7.0.x/package.mo): time 1.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009815/0.0009816, allocations: 184.1 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008103/0.0008103, allocations: 93.88 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.161e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.305/3.451, allocations: 2.181 GB / 3.065 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/3.452, allocations: 83.7 kB / 3.065 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.441/5.893, allocations: 0.9256 GB / 3.991 GB, free: 200 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.619e-05/5.893, allocations: 27.2 kB / 3.991 GB, free: 200 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001382/5.895, allocations: 1.075 MB / 3.992 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/5.895, allocations: 7.812 kB / 3.992 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006987/5.895, allocations: 187.3 kB / 3.992 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/5.897, allocations: 1.084 MB / 3.993 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/5.897, allocations: 15.72 kB / 3.993 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/5.897, allocations: 35.16 kB / 3.993 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006188/5.898, allocations: 0.4982 MB / 3.994 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/5.899, allocations: 0.5709 MB / 3.994 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/5.899, allocations: 0 / 3.994 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/5.899, allocations: 3.906 kB / 3.994 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/5.899, allocations: 14.22 kB / 3.994 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/5.901, allocations: 3.332 MB / 3.998 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/5.902, allocations: 432.4 kB / 3.998 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/5.902, allocations: 251 kB / 3.998 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/5.902, allocations: 190.2 kB / 3.998 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/5.902, allocations: 42.11 kB / 3.998 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/5.902, allocations: 0 / 3.998 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.001518/5.904, allocations: 0.7562 MB / 3.999 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/5.904, allocations: 55.31 kB / 3.999 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/5.904, allocations: 0.792 MB / 4 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/5.905, allocations: 26.03 kB / 4 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/5.905, allocations: 293.6 kB / 4 GB, free: 196 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/5.905, allocations: 91.09 kB / 4 GB, free: 196 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/5.905, allocations: 0 / 4 GB, free: 196 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/5.905, allocations: 316.7 kB / 4.001 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/5.905, allocations: 147.3 kB / 4.001 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/5.905, allocations: 342.9 kB / 4.001 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/5.905, allocations: 189.9 kB / 4.001 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/5.905, allocations: 0 / 4.001 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001207/5.907, allocations: 0.738 MB / 4.002 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/5.907, allocations: 361.1 kB / 4.002 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/5.907, allocations: 7.844 kB / 4.002 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/5.907, allocations: 227.4 kB / 4.003 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/5.907, allocations: 19.47 kB / 4.003 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008889/5.908, allocations: 1.138 MB / 4.004 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/5.909, allocations: 61.98 kB / 4.004 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/5.909, allocations: 13.64 kB / 4.004 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/5.909, allocations: 4.906 kB / 4.004 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008362/5.91, allocations: 467.5 kB / 4.004 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/5.91, allocations: 0 / 4.004 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/5.91, allocations: 202.2 kB / 4.005 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/5.91, allocations: 25.16 kB / 4.005 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/5.913, allocations: 2.763 MB / 4.007 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/5.914, allocations: 72.73 kB / 4.007 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/5.914, allocations: 17.12 kB / 4.007 GB, free: 193.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001154/5.914, allocations: 107.8 kB / 4.007 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/5.914, allocations: 89.88 kB / 4.008 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/5.915, allocations: 0.6649 MB / 4.008 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/5.915, allocations: 0 / 4.008 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/5.915, allocations: 3.906 kB / 4.008 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/5.915, allocations: 2.109 kB / 4.008 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/5.917, allocations: 1.383 MB / 4.01 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/5.917, allocations: 3.875 kB / 4.01 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/5.917, allocations: 21.55 kB / 4.01 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/5.917, allocations: 194.7 kB / 4.01 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/5.917, allocations: 0 / 4.01 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006439/5.918, allocations: 1.015 MB / 4.011 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/5.918, allocations: 7.844 kB / 4.011 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007512/5.919, allocations: 0.8305 MB / 4.012 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/5.919, allocations: 201.2 kB / 4.012 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/5.919, allocations: 3.906 kB / 4.012 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/5.919, allocations: 62.45 kB / 4.012 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/5.919, allocations: 21.84 kB / 4.012 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/5.919, allocations: 11.75 kB / 4.012 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005543/5.92, allocations: 0.6304 MB / 4.012 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001004/5.921, allocations: 458 kB / 4.013 GB, free: 191.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/5.922, allocations: 1.032 MB / 4.014 GB, free: 191 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008855/5.923, allocations: 0.6816 MB / 4.015 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/5.923, allocations: 0 / 4.015 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/5.923, allocations: 192.9 kB / 4.015 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/5.925, allocations: 365.8 kB / 4.015 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/5.926, allocations: 1.349 MB / 4.016 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/5.927, allocations: 1.244 MB / 4.018 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/5.927, allocations: 0 / 4.018 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.03381/5.961, allocations: 21.81 MB / 4.039 GB, free: 184.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches