Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") [: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.035/2.035, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001653/0.001653, allocations: 181.2 kB / 487 MB, free: 5.324 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.568/1.568, allocations: 221.3 MB / 0.7819 GB, free: 1.32 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.001228/0.001228, allocations: 106.3 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.035e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.307, allocations: 412.4 MB / 1.608 GB, free: 11.44 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.307, allocations: 81.7 kB / 1.608 GB, free: 11.4 MB / 1.042 GB Notification: Performance of FrontEnd: time 0.9229/2.23, allocations: 171 MB / 1.775 GB, free: 309 MB / 1.135 GB Notification: Performance of Transformations before backend: time 3.057e-05/2.23, allocations: 7.75 kB / 1.775 GB, free: 309 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009241/2.231, allocations: 0.6655 MB / 1.776 GB, free: 308.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/2.231, allocations: 12.53 kB / 1.776 GB, free: 308.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/2.231, allocations: 46.16 kB / 1.776 GB, free: 308.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03505/2.266, allocations: 14.65 MB / 1.79 GB, free: 307.5 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/2.266, allocations: 11.22 kB / 1.79 GB, free: 307.5 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/2.266, allocations: 11.53 kB / 1.79 GB, free: 307.5 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002075/2.266, allocations: 96.03 kB / 1.79 GB, free: 307.5 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/2.267, allocations: 134.6 kB / 1.79 GB, free: 307.5 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/2.267, allocations: 0 / 1.79 GB, free: 307.5 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/2.267, allocations: 7.875 kB / 1.79 GB, free: 307.5 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/2.267, allocations: 8.188 kB / 1.79 GB, free: 307.5 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/2.268, allocations: 0.8197 MB / 1.791 GB, free: 306.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/2.268, allocations: 96.02 kB / 1.791 GB, free: 306.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/2.268, allocations: 57.39 kB / 1.791 GB, free: 306.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/2.268, allocations: 337.2 kB / 1.792 GB, free: 306.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/2.268, allocations: 31.36 kB / 1.792 GB, free: 306.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/2.268, allocations: 0 / 1.792 GB, free: 306.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=12): time 0.00036/2.269, allocations: 131.7 kB / 1.792 GB, free: 306.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/2.269, allocations: 58.16 kB / 1.792 GB, free: 306.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/2.269, allocations: 249.8 kB / 1.792 GB, free: 306.3 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/2.269, allocations: 25.7 kB / 1.792 GB, free: 306.2 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/2.269, allocations: 150.7 kB / 1.792 GB, free: 306.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/2.269, allocations: 38.16 kB / 1.792 GB, free: 306.1 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/2.269, allocations: 3.938 kB / 1.792 GB, free: 306.1 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/2.269, allocations: 344.9 kB / 1.793 GB, free: 305.8 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/2.269, allocations: 27.91 kB / 1.793 GB, free: 305.8 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/2.269, allocations: 85.42 kB / 1.793 GB, free: 305.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/2.269, allocations: 44.86 kB / 1.793 GB, free: 305.7 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/2.269, allocations: 0 / 1.793 GB, free: 305.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002468/2.27, allocations: 140.3 kB / 1.793 GB, free: 305.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/2.27, allocations: 189 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/2.27, allocations: 0 / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/2.27, allocations: 0.6094 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/2.27, allocations: 32.25 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/2.27, allocations: 4.328 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/2.27, allocations: 28.72 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/2.27, allocations: 12.38 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/2.27, allocations: 4.062 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001872/2.27, allocations: 79.08 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/2.27, allocations: 4.312 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-06/2.27, allocations: 0 / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/2.271, allocations: 27.36 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/2.271, allocations: 0.6094 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/2.271, allocations: 27.95 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/2.271, allocations: 7.938 kB / 1.793 GB, free: 305.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/2.271, allocations: 112.5 kB / 1.793 GB, free: 305.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/2.271, allocations: 30.97 kB / 1.793 GB, free: 305.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/2.271, allocations: 191.7 kB / 1.794 GB, free: 305.3 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/2.271, allocations: 8.328 kB / 1.794 GB, free: 305.3 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/2.271, allocations: 0 / 1.794 GB, free: 305.3 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/2.271, allocations: 4.469 kB / 1.794 GB, free: 305.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/2.272, allocations: 0.5323 MB / 1.794 GB, free: 305 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/2.272, allocations: 3.906 kB / 1.794 GB, free: 305 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/2.272, allocations: 27.55 kB / 1.794 GB, free: 305 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/2.272, allocations: 3.625 kB / 1.794 GB, free: 305 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/2.272, allocations: 4.391 kB / 1.794 GB, free: 305 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/2.272, allocations: 0.6094 kB / 1.794 GB, free: 305 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/2.272, allocations: 0 / 1.794 GB, free: 305 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002854/2.272, allocations: 316.2 kB / 1.794 GB, free: 304.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/2.273, allocations: 126.1 kB / 1.795 GB, free: 304.6 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/2.273, allocations: 0.6094 kB / 1.795 GB, free: 304.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/2.273, allocations: 24.53 kB / 1.795 GB, free: 304.6 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/2.273, allocations: 15.09 kB / 1.795 GB, free: 304.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/2.273, allocations: 7.031 kB / 1.795 GB, free: 304.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0001488/2.273, allocations: 198.7 kB / 1.795 GB, free: 304.5 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0005389/2.274, allocations: 155.7 kB / 1.795 GB, free: 304.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00051/2.274, allocations: 288.5 kB / 1.795 GB, free: 304.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002461/2.274, allocations: 147.7 kB / 1.795 GB, free: 304.4 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/2.274, allocations: 0 / 1.795 GB, free: 304.4 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/2.274, allocations: 68.3 kB / 1.795 GB, free: 304.4 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/2.275, allocations: 117.6 kB / 1.796 GB, free: 304.4 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/2.276, allocations: 384 kB / 1.796 GB, free: 304.2 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/2.276, allocations: 0.8321 MB / 1.797 GB, free: 303.5 MB / 1.135 GB Notification: Performance of SimCode: time 2.41e-07/2.276, allocations: 3.562 kB / 1.797 GB, free: 303.5 MB / 1.135 GB Notification: Performance of Templates: time 0.01173/2.288, allocations: 6.242 MB / 1.803 GB, free: 302.9 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches