Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.029/2.029, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.00101/0.00101, allocations: 181.2 kB / 490.8 MB, free: 1.977 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.267/1.267, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009734/0.0009735, allocations: 88.67 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.075e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.279, allocations: 143 MB / 1.212 GB, free: 40.18 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8243/1.103, allocations: 150.3 MB / 1.358 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.104, allocations: 81.05 kB / 1.358 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.009465/1.113, allocations: 3.043 MB / 1.361 GB, free: 17.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.113, allocations: 0.875 kB / 1.361 GB, free: 17.09 MB / 0.823 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.0005868/1.114, allocations: 386.9 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.114, allocations: 9.141 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.115, allocations: 161.7 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/1.115, allocations: 181.2 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/1.115, allocations: 2.094 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/1.115, allocations: 4.156 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000266/1.116, allocations: 82.09 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/1.116, allocations: 108.5 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.116, allocations: 0 / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/1.116, allocations: 1 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/1.116, allocations: 2 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/1.117, allocations: 461.4 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/1.118, allocations: 89.67 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/1.118, allocations: 29.52 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/1.118, allocations: 4.641 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/1.118, allocations: 36.78 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/1.118, allocations: 0 / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002628/1.118, allocations: 71.98 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/1.118, allocations: 56.66 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/1.118, allocations: 135.3 kB / 1.363 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/1.118, allocations: 25.7 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/1.118, allocations: 116.2 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/1.118, allocations: 11.75 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/1.118, allocations: 0 / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.119, allocations: 323.1 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/1.119, allocations: 36.95 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/1.119, allocations: 45.58 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/1.119, allocations: 29.38 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.119, allocations: 1.5 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002476/1.119, allocations: 108.4 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.119, allocations: 264.6 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.119, allocations: 10.25 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.119, allocations: 1.094 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/1.12, allocations: 61.08 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.12, allocations: 0 / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/1.12, allocations: 50.69 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/1.12, allocations: 7.141 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/1.12, allocations: 3.5 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001173/1.12, allocations: 40.14 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/1.12, allocations: 1.344 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/1.12, allocations: 6.859 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/1.121, allocations: 23.73 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.121, allocations: 4.844 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/1.121, allocations: 26.78 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.121, allocations: 3.641 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001049/1.121, allocations: 102 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/1.121, allocations: 10.94 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/1.121, allocations: 8.938 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.121, allocations: 5.156 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.121, allocations: 1.547 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.121, allocations: 1.156 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/1.121, allocations: 185.4 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.121, allocations: 3.984 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/1.122, allocations: 41.23 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.122, allocations: 1.125 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/1.122, allocations: 7.906 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/1.122, allocations: 0.7031 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.122, allocations: 1.359 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002111/1.122, allocations: 175.2 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/1.122, allocations: 95.39 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/1.122, allocations: 1.156 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/1.122, allocations: 39.89 kB / 1.365 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/1.122, allocations: 2.516 kB / 1.365 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.122, allocations: 4.453 kB / 1.365 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001087/1.122, allocations: 114.9 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000351/1.123, allocations: 45.94 kB / 1.365 GB, free: 30.45 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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.0001838/1.123, allocations: 100.8 kB / 1.365 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002735/1.123, allocations: 94.06 kB / 1.365 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.123, allocations: 0 / 1.365 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/1.123, allocations: 25.03 kB / 1.365 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/1.124, allocations: 2.219 kB / 1.365 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007273/1.124, allocations: 160.6 kB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/1.125, allocations: 0.7205 MB / 1.366 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.125, allocations: 0 / 1.366 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.00559/1.13, allocations: 2.16 MB / 1.368 GB, free: 29.43 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches