Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [: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.161/2.161, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001594/0.001594, allocations: 181.2 kB / 487 MB, free: 5.387 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.388/1.388, allocations: 221.3 MB / 0.7819 GB, free: 1.492 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.001113/0.001113, allocations: 111 kB / 0.9213 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.333e-06/7.504e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3131, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.691/5.004, allocations: 2.157 GB / 3.363 GB, free: 112.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/5.004, allocations: 79.39 kB / 3.363 GB, free: 112.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.395/7.399, allocations: 0.5999 GB / 3.963 GB, free: 293.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000104/7.399, allocations: 44.62 kB / 3.963 GB, free: 293.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002852/7.402, allocations: 1.354 MB / 3.964 GB, free: 293.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/7.402, allocations: 10.78 kB / 3.964 GB, free: 293.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/7.405, allocations: 0.636 MB / 3.965 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/7.408, allocations: 0.9302 MB / 3.966 GB, free: 292.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/7.408, allocations: 21.75 kB / 3.966 GB, free: 292.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/7.408, allocations: 48.42 kB / 3.966 GB, free: 292.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001076/7.409, allocations: 0.5583 MB / 3.966 GB, free: 292.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/7.41, allocations: 0.8369 MB / 3.967 GB, free: 292.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/7.41, allocations: 0 / 3.967 GB, free: 292.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/7.41, allocations: 3.844 kB / 3.967 GB, free: 292.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/7.41, allocations: 33.47 kB / 3.967 GB, free: 292.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005249/7.415, allocations: 4.843 MB / 3.972 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009741/7.416, allocations: 0.5384 MB / 3.972 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/7.417, allocations: 296.1 kB / 3.973 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/7.418, allocations: 1.601 MB / 3.974 GB, free: 287.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005388/7.419, allocations: 374 kB / 3.974 GB, free: 287.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.597e-06/7.419, allocations: 0 / 3.974 GB, free: 287.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.001676/7.42, allocations: 0.6984 MB / 3.975 GB, free: 287.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/7.42, allocations: 63.06 kB / 3.975 GB, free: 287.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/7.421, allocations: 0.8368 MB / 3.976 GB, free: 287.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/7.421, allocations: 33.44 kB / 3.976 GB, free: 287.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/7.422, allocations: 374.1 kB / 3.976 GB, free: 287 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/7.422, allocations: 201.8 kB / 3.977 GB, free: 286.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/7.422, allocations: 3.938 kB / 3.977 GB, free: 286.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/7.422, allocations: 333 kB / 3.977 GB, free: 286.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/7.422, allocations: 257.6 kB / 3.977 GB, free: 286.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/7.423, allocations: 0.539 MB / 3.978 GB, free: 286.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/7.424, allocations: 353.6 kB / 3.978 GB, free: 286.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/7.424, allocations: 7.156 kB / 3.978 GB, free: 286.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001665/7.425, allocations: 0.8801 MB / 3.979 GB, free: 286.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/7.425, allocations: 7.094 kB / 3.979 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/7.425, allocations: 9.031 kB / 3.979 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/7.425, allocations: 11.47 kB / 3.979 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/7.427, allocations: 297.8 kB / 3.979 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/7.427, allocations: 14.91 kB / 3.979 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/7.428, allocations: 188.4 kB / 3.979 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/7.428, allocations: 48.27 kB / 3.979 GB, free: 286.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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 0.0001962/7.428, allocations: 143.6 kB / 3.98 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/7.428, allocations: 109.9 kB / 3.98 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/7.431, allocations: 1.063 MB / 3.981 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/7.431, allocations: 7.812 kB / 3.981 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/7.431, allocations: 6.016 kB / 3.981 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/7.431, allocations: 3.375 kB / 3.981 GB, free: 285.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/7.434, allocations: 1.982 MB / 3.983 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/7.434, allocations: 3.656 kB / 3.983 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/7.435, allocations: 220.6 kB / 3.983 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/7.435, allocations: 3.938 kB / 3.983 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/7.435, allocations: 22.14 kB / 3.983 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/7.435, allocations: 7.562 kB / 3.983 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/7.435, allocations: 0 / 3.983 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002247/7.438, allocations: 1.524 MB / 3.984 GB, free: 285.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/7.438, allocations: 293.8 kB / 3.985 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/7.438, allocations: 7.75 kB / 3.985 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/7.439, allocations: 133.3 kB / 3.985 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/7.439, allocations: 50.33 kB / 3.985 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.603e-05/7.44, allocations: 36.06 kB / 3.985 GB, free: 285 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007715/7.44, allocations: 0.6286 MB / 3.986 GB, free: 284.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001355/7.442, allocations: 378.1 kB / 3.986 GB, free: 284.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.00143/7.443, allocations: 0.7231 MB / 3.987 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001232/7.444, allocations: 0.7374 MB / 3.987 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/7.444, allocations: 0 / 3.987 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005801/7.445, allocations: 410.1 kB / 3.988 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/7.446, allocations: 315.6 kB / 3.988 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/7.45, allocations: 1.815 MB / 3.99 GB, free: 284.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009648/7.451, allocations: 1.28 MB / 3.991 GB, free: 283.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.293e-06/7.451, allocations: 0 / 3.991 GB, free: 283.6 MB / 1.151 GB Notification: Performance of Templates: time 0.03127/7.483, allocations: 19.09 MB / 4.01 GB, free: 283.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches