Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") [: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.208/1.208, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001017/0.001017, allocations: 180.3 kB / 316 MB, free: 3.52 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.088/1.088, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0008264/0.0008264, allocations: 97.97 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.125e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1477, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.469/3.616, allocations: 2.185 GB / 3.07 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/3.617, allocations: 85.55 kB / 3.07 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.316/8.932, allocations: 2.003 GB / 5.073 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.139e-05/8.932, allocations: 40.84 kB / 5.073 GB, free: 113.6 MB / 0.9011 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.00268/8.935, allocations: 1.648 MB / 5.075 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/8.935, allocations: 8.812 kB / 5.075 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006646/8.936, allocations: 208.9 kB / 5.075 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/8.937, allocations: 0.9518 MB / 5.076 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/8.938, allocations: 90.88 kB / 5.076 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/8.938, allocations: 58.61 kB / 5.076 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005756/8.938, allocations: 388.1 kB / 5.077 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/8.939, allocations: 0.7634 MB / 5.077 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/8.939, allocations: 3.75 kB / 5.077 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/8.939, allocations: 10.69 kB / 5.077 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/8.939, allocations: 21.78 kB / 5.078 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/8.942, allocations: 4.627 MB / 5.082 GB, free: 108.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/8.943, allocations: 387.7 kB / 5.082 GB, free: 108.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/8.943, allocations: 242.2 kB / 5.083 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/8.943, allocations: 102.2 kB / 5.083 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/8.943, allocations: 56.78 kB / 5.083 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/8.943, allocations: 0 / 5.083 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31): time 0.0009031/8.944, allocations: 385.3 kB / 5.083 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/8.944, allocations: 403.6 kB / 5.084 GB, free: 107.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/8.945, allocations: 0.6574 MB / 5.084 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/8.945, allocations: 29.42 kB / 5.084 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/8.945, allocations: 398.8 kB / 5.085 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/8.945, allocations: 99.38 kB / 5.085 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/8.945, allocations: 0 / 5.085 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 4.24e-05/8.945, allocations: 322 kB / 5.085 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/8.945, allocations: 72.62 kB / 5.085 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/8.945, allocations: 339.7 kB / 5.085 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/8.945, allocations: 130.8 kB / 5.086 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/8.945, allocations: 0 / 5.086 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004744/8.946, allocations: 394.1 kB / 5.086 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/8.946, allocations: 6.062 kB / 5.086 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/8.946, allocations: 3.219 kB / 5.086 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/8.946, allocations: 63.56 kB / 5.086 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/8.946, allocations: 63.94 kB / 5.086 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/8.948, allocations: 2.769 MB / 5.089 GB, free: 104 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/8.948, allocations: 69.05 kB / 5.089 GB, free: 104 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/8.948, allocations: 22.62 kB / 5.089 GB, free: 104 MB / 0.9011 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): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/8.948, allocations: 119.6 kB / 5.089 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/8.949, allocations: 103 kB / 5.089 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/8.949, allocations: 94.88 kB / 5.089 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/8.949, allocations: 11.09 kB / 5.089 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/8.949, allocations: 3.562 kB / 5.089 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/8.949, allocations: 3.406 kB / 5.089 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/8.951, allocations: 2.359 MB / 5.091 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/8.951, allocations: 3.688 kB / 5.091 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/8.951, allocations: 60 kB / 5.091 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/8.951, allocations: 70.16 kB / 5.092 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/8.951, allocations: 3.875 kB / 5.092 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/8.953, allocations: 2.765 MB / 5.094 GB, free: 99.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/8.953, allocations: 9.094 kB / 5.094 GB, free: 99.79 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005236/8.953, allocations: 0.8558 MB / 5.095 GB, free: 99.05 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/8.954, allocations: 204.3 kB / 5.095 GB, free: 98.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/8.954, allocations: 11.19 kB / 5.095 GB, free: 98.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/8.954, allocations: 62.91 kB / 5.095 GB, free: 98.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/8.954, allocations: 34.72 kB / 5.095 GB, free: 98.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/8.954, allocations: 22.55 kB / 5.095 GB, free: 98.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0004611/8.955, allocations: 0.5066 MB / 5.096 GB, free: 98.79 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001622/8.956, allocations: 0.5287 MB / 5.096 GB, free: 98.77 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003823/8.96, allocations: 3.905 MB / 5.1 GB, free: 97.17 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006495/8.961, allocations: 443.8 kB / 5.101 GB, free: 96.97 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/8.961, allocations: 3.969 kB / 5.101 GB, free: 96.97 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/8.961, allocations: 351.3 kB / 5.101 GB, free: 96.77 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/8.963, allocations: 418.6 kB / 5.101 GB, free: 96.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/8.965, allocations: 1.298 MB / 5.103 GB, free: 96.19 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/8.966, allocations: 1.217 MB / 5.104 GB, free: 95.48 MB / 0.9011 GB Notification: Performance of SimCode: time 3.2e-07/8.966, allocations: 0 / 5.104 GB, free: 95.48 MB / 0.9011 GB Notification: Performance of Templates: time 0.0446/9.011, allocations: 31.87 MB / 5.135 GB, free: 93.75 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches