Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [: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.161/1.161, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.0009266/0.0009266, allocations: 185 kB / 316 MB, free: 3.555 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.002/1.002, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0008266/0.0008266, allocations: 90.58 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.212e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1329, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.5281, allocations: 132.5 MB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.5283, allocations: 81.06 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.009243/0.5375, allocations: 3.091 MB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5376, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002196/0.5378, allocations: 341.8 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.5378, allocations: 8.031 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.5379, allocations: 4 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/0.538, allocations: 159.1 kB / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.538, allocations: 4 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.538, allocations: 3.984 kB / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.777e-05/0.538, allocations: 7.938 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.881e-05/0.5381, allocations: 37.59 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.5381, allocations: 0 / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.5381, allocations: 0 / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.5381, allocations: 0 / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.5382, allocations: 129.8 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.5383, allocations: 26.52 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.5383, allocations: 8.234 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.5383, allocations: 4.062 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.5383, allocations: 34.55 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5384, allocations: 0 / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001044/0.5385, allocations: 33.61 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.5385, allocations: 55.41 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.5385, allocations: 92.84 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.5386, allocations: 25.7 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.5386, allocations: 80.14 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.5386, allocations: 7.906 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.5386, allocations: 0 / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.5387, allocations: 314.8 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-06/0.5387, allocations: 3.938 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-06/0.5387, allocations: 7.562 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.21e-05/0.5387, allocations: 4.188 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5387, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.072e-05/0.5388, allocations: 33.7 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.5388, allocations: 11.94 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.5388, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.5388, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.539, allocations: 11.98 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002926/0.5393, allocations: 0.5891 MB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.5393, allocations: 7.922 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.5393, allocations: 3.25 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * 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 5.231e-05/0.5394, allocations: 106.6 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.5394, allocations: 4.031 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.513e-05/0.5395, allocations: 48.7 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5395, allocations: 128 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5395, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5395, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.541e-05/0.5396, allocations: 126.2 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.5396, allocations: 4 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.5397, allocations: 7.984 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5397, allocations: 4 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.5397, allocations: 4 kB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002502/0.5399, allocations: 0.5973 MB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5399, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.172e-05/0.54, allocations: 60.28 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.54, allocations: 81.02 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.5401, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.5401, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.5401, allocations: 7.984 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.5401, allocations: 4.125 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.632e-05/0.5401, allocations: 79.16 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001721/0.5403, allocations: 15.94 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001383/0.5405, allocations: 111.2 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.5406, allocations: 19.92 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5406, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.5407, allocations: 16.16 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.932e-05/0.5408, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001379/0.541, allocations: 62.64 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.5412, allocations: 0.6879 MB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.5412, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of Templates: time 0.001766/0.5429, allocations: 428.8 kB / 1.021 GB, free: 14.56 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches