Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") [: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.021/2.021, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001234/0.001234, allocations: 180.4 kB / 487 MB, free: 5.379 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.437/1.437, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.001025/0.001025, allocations: 96.48 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.692e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.296, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7265/1.023, allocations: 149.4 MB / 1.351 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/1.023, allocations: 78.95 kB / 1.351 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.008787/1.032, allocations: 2.888 MB / 1.354 GB, free: 16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.032, allocations: 2.031 kB / 1.354 GB, free: 16 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004209/1.032, allocations: 388.8 kB / 1.354 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.032, allocations: 10.36 kB / 1.354 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/1.033, allocations: 111.5 kB / 1.354 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/1.033, allocations: 173 kB / 1.355 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.033, allocations: 7.188 kB / 1.355 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/1.033, allocations: 8.031 kB / 1.355 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001811/1.033, allocations: 60.06 kB / 1.355 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/1.034, allocations: 95.84 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/1.034, allocations: 0.8125 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.034, allocations: 0 / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.034, allocations: 2.594 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/1.035, allocations: 429.7 kB / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/1.035, allocations: 62.3 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/1.035, allocations: 30.97 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/1.035, allocations: 10.33 kB / 1.355 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/1.035, allocations: 40.09 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/1.035, allocations: 1.781 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0002493/1.035, allocations: 82.81 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/1.035, allocations: 56.75 kB / 1.355 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/1.035, allocations: 115.7 kB / 1.356 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/1.035, allocations: 25.7 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/1.035, allocations: 107.2 kB / 1.356 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/1.035, allocations: 18.66 kB / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/1.035, allocations: 0 / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/1.035, allocations: 322 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/1.035, allocations: 23.83 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/1.036, allocations: 27.19 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/1.036, allocations: 21.19 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.036, allocations: 1.859 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001782/1.036, allocations: 100.7 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/1.036, allocations: 99.06 kB / 1.356 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/1.036, allocations: 240 / 1.356 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/1.036, allocations: 1.938 kB / 1.356 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/1.036, allocations: 47.08 kB / 1.356 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.036, allocations: 5.234 kB / 1.356 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/1.037, allocations: 35.89 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/1.037, allocations: 8.312 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.042e-06/1.037, allocations: 3.594 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.454e-05/1.037, allocations: 30.44 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-06/1.037, allocations: 0.9375 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-06/1.037, allocations: 1.031 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/1.037, allocations: 26.66 kB / 1.356 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/1.037, allocations: 3.906 kB / 1.356 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/1.037, allocations: 9.891 kB / 1.356 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/1.037, allocations: 5.688 kB / 1.356 GB, free: 14.22 MB / 0.8073 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 (7): * Single equations (assignments): 7 * 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.542e-05/1.037, allocations: 101.9 kB / 1.357 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/1.037, allocations: 12.97 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/1.037, allocations: 11.03 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/1.037, allocations: 2.062 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.037, allocations: 3.906 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.037, allocations: 0.8438 kB / 1.357 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/1.037, allocations: 370.6 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.037, allocations: 0.75 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/1.038, allocations: 44.5 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.038, allocations: 1.688 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/1.038, allocations: 4.125 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.038, allocations: 1.641 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.038, allocations: 0.9688 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001957/1.038, allocations: 226.1 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/1.038, allocations: 93.27 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/1.038, allocations: 5.562 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/1.038, allocations: 32.66 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/1.038, allocations: 7.859 kB / 1.357 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/1.038, allocations: 4.578 kB / 1.357 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.46e-05/1.039, allocations: 96.73 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003165/1.039, allocations: 35.33 kB / 1.357 GB, free: 13.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001163/1.039, allocations: 109.3 kB / 1.358 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002069/1.039, allocations: 86.88 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.039, allocations: 0 / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/1.039, allocations: 36.88 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/1.039, allocations: 3 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007869/1.04, allocations: 189.4 kB / 1.358 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/1.041, allocations: 0.7203 MB / 1.359 GB, free: 28.51 MB / 0.823 GB Notification: Performance of SimCode: time 9.62e-07/1.041, allocations: 0 / 1.359 GB, free: 28.51 MB / 0.823 GB Notification: Performance of Templates: time 0.003715/1.044, allocations: 1.456 MB / 1.36 GB, free: 28.4 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches