Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [: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.289/2.289, allocations: 387.2 MB / 394.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 180.4 kB / 487 MB, free: 9.824 MB / 398.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 221.3 MB / 0.7819 GB, free: 5.418 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 98.56 kB / 0.9213 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.496e-06, allocations: 4 kB / 1.066 GB, free: 190 MB / 0.7637 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2997, allocations: 142.3 MB / 1.205 GB, free: 48.25 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.257/4.557, allocations: 2.154 GB / 3.359 GB, free: 217.3 MB / 1.154 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/4.557, allocations: 83.95 kB / 3.359 GB, free: 217.3 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.403/6.96, allocations: 0.6574 GB / 4.017 GB, free: 267.3 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.000102/6.96, allocations: 36.84 kB / 4.017 GB, free: 267.3 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004282/6.964, allocations: 1.505 MB / 4.018 GB, free: 266.9 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/6.964, allocations: 7.281 kB / 4.018 GB, free: 266.9 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/6.967, allocations: 0.5969 MB / 4.019 GB, free: 266.8 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02788/6.995, allocations: 13.19 MB / 4.032 GB, free: 266.2 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/6.996, allocations: 316.4 kB / 4.032 GB, free: 266.2 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/6.997, allocations: 38.94 kB / 4.032 GB, free: 266.2 MB / 1.154 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001328/6.998, allocations: 0.742 MB / 4.033 GB, free: 266.2 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/6.999, allocations: 0.9051 MB / 4.034 GB, free: 266 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/6.999, allocations: 1.781 kB / 4.034 GB, free: 266 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.564e-05/6.999, allocations: 6.781 kB / 4.034 GB, free: 266 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/6.999, allocations: 38.56 kB / 4.034 GB, free: 266 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006011/7.005, allocations: 3.169 MB / 4.037 GB, free: 265.2 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/7.006, allocations: 0.539 MB / 4.037 GB, free: 265.2 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/7.007, allocations: 365 kB / 4.038 GB, free: 265.2 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007818/7.008, allocations: 1.031 MB / 4.039 GB, free: 264.1 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005884/7.008, allocations: 475 kB / 4.039 GB, free: 264 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 4.318e-06/7.008, allocations: 0 / 4.039 GB, free: 264 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.001818/7.01, allocations: 0.7652 MB / 4.04 GB, free: 263.9 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/7.01, allocations: 143.8 kB / 4.04 GB, free: 263.7 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007491/7.011, allocations: 0.6501 MB / 4.041 GB, free: 263.6 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/7.011, allocations: 29.61 kB / 4.041 GB, free: 263.6 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/7.011, allocations: 320.5 kB / 4.041 GB, free: 263.4 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/7.011, allocations: 179.6 kB / 4.041 GB, free: 263.3 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/7.011, allocations: 0 / 4.041 GB, free: 263.3 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/7.011, allocations: 337.1 kB / 4.041 GB, free: 263 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/7.012, allocations: 312.9 kB / 4.042 GB, free: 263 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/7.012, allocations: 0.5038 MB / 4.042 GB, free: 262.8 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007888/7.013, allocations: 415.9 kB / 4.043 GB, free: 262.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/7.013, allocations: 0 / 4.043 GB, free: 262.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001565/7.015, allocations: 0.902 MB / 4.044 GB, free: 262.7 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/7.015, allocations: 3.906 kB / 4.044 GB, free: 262.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/7.015, allocations: 3.875 kB / 4.044 GB, free: 262.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/7.015, allocations: 10.81 kB / 4.044 GB, free: 262.7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/7.016, allocations: 229.4 kB / 4.044 GB, free: 262.7 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/7.016, allocations: 7.656 kB / 4.044 GB, free: 262.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/7.017, allocations: 291 kB / 4.044 GB, free: 262.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/7.018, allocations: 48.22 kB / 4.044 GB, free: 262.7 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002124/7.018, allocations: 151 kB / 4.044 GB, free: 262.6 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/7.018, allocations: 94.59 kB / 4.044 GB, free: 262.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/7.019, allocations: 0.8299 MB / 4.045 GB, free: 262.5 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/7.02, allocations: 15.16 kB / 4.045 GB, free: 262.5 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/7.02, allocations: 6.812 kB / 4.045 GB, free: 262.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/7.02, allocations: 7.078 kB / 4.045 GB, free: 262.5 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/7.024, allocations: 2.966 MB / 4.048 GB, free: 261.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/7.024, allocations: 7.156 kB / 4.048 GB, free: 261.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/7.024, allocations: 126.7 kB / 4.048 GB, free: 261.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/7.024, allocations: 10.28 kB / 4.048 GB, free: 261.8 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/7.024, allocations: 20.88 kB / 4.048 GB, free: 261.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/7.024, allocations: 12.84 kB / 4.048 GB, free: 261.8 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/7.024, allocations: 19.41 kB / 4.048 GB, free: 261.8 MB / 1.154 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001612/7.026, allocations: 1.534 MB / 4.05 GB, free: 260.8 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/7.026, allocations: 310.4 kB / 4.05 GB, free: 260.6 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/7.027, allocations: 13.69 kB / 4.05 GB, free: 260.6 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/7.028, allocations: 132.7 kB / 4.05 GB, free: 260.6 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/7.028, allocations: 56.02 kB / 4.05 GB, free: 260.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/7.028, allocations: 46.52 kB / 4.05 GB, free: 260.6 MB / 1.154 GB Notification: Performance of sort global known variables: time 0.0005691/7.029, allocations: 0.5045 MB / 4.051 GB, free: 260.5 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001608/7.03, allocations: 411.8 kB / 4.051 GB, free: 260.5 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.002267/7.032, allocations: 1.761 MB / 4.053 GB, free: 260.1 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001219/7.034, allocations: 0.7712 MB / 4.054 GB, free: 260 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/7.034, allocations: 3.938 kB / 4.054 GB, free: 260 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000508/7.034, allocations: 442.4 kB / 4.054 GB, free: 260 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/7.036, allocations: 345.5 kB / 4.054 GB, free: 260 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/7.039, allocations: 1.526 MB / 4.056 GB, free: 259.4 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008313/7.04, allocations: 1.182 MB / 4.057 GB, free: 258.7 MB / 1.154 GB Notification: Performance of SimCode: time 5.11e-07/7.04, allocations: 0 / 4.057 GB, free: 258.7 MB / 1.154 GB Notification: Performance of Templates: time 0.04079/7.081, allocations: 25.33 MB / 4.082 GB, free: 258.2 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches