Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [: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.066/2.066, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001188/0.001188, allocations: 190.8 kB / 490.8 MB, free: 1.934 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.311/1.311, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.0008682/0.0008682, allocations: 79.62 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.408e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2215, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6056/0.8271, allocations: 153.7 MB / 1.362 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.8274, allocations: 85.33 kB / 1.362 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02092/0.8484, allocations: 7.694 MB / 1.369 GB, free: 16.58 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.8484, allocations: 5 kB / 1.369 GB, free: 16.58 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001236/0.8497, allocations: 0.6064 MB / 1.37 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.8497, allocations: 9.234 kB / 1.37 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/0.8507, allocations: 168.9 kB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.8514, allocations: 344.2 kB / 1.37 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.8516, allocations: 82.56 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.8516, allocations: 8.312 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007177/0.8523, allocations: 315.8 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.8528, allocations: 229.5 kB / 1.371 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.8529, allocations: 5.938 kB / 1.371 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.8529, allocations: 0 / 1.371 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.8529, allocations: 2.781 kB / 1.371 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.8548, allocations: 0.8455 MB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.8552, allocations: 213.8 kB / 1.372 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.8555, allocations: 166.6 kB / 1.372 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.8555, allocations: 5.438 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.8556, allocations: 40.34 kB / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.8556, allocations: 0 / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0007364/0.8563, allocations: 352 kB / 1.373 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.8564, allocations: 53.59 kB / 1.373 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.8568, allocations: 349.6 kB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.8569, allocations: 25.7 kB / 1.373 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.857, allocations: 126.5 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.857, allocations: 52.58 kB / 1.373 GB, free: 31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.857, allocations: 4.812 kB / 1.373 GB, free: 31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8572, allocations: 349.8 kB / 1.373 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.8575, allocations: 144.1 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.8577, allocations: 179.9 kB / 1.374 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.858, allocations: 135.5 kB / 1.374 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.858, allocations: 0 / 1.374 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005975/0.8586, allocations: 357.8 kB / 1.374 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.8586, allocations: 9.562 kB / 1.374 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8586, allocations: 0 / 1.374 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8586, allocations: 2.062 kB / 1.374 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.8592, allocations: 77.83 kB / 1.374 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.8592, allocations: 0 / 1.374 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.8596, allocations: 57.83 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.8596, allocations: 8.656 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001035/0.8597, allocations: 109.1 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.8598, allocations: 35 kB / 1.375 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.8599, allocations: 34.91 kB / 1.375 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8599, allocations: 1.25 kB / 1.375 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8599, allocations: 4.938 kB / 1.375 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8599, allocations: 2.312 kB / 1.375 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.8604, allocations: 449.7 kB / 1.375 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8604, allocations: 0 / 1.375 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.8609, allocations: 77.45 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.8609, allocations: 1 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.861, allocations: 9.859 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.861, allocations: 1.156 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.861, allocations: 5.125 kB / 1.375 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006325/0.8616, allocations: 459.3 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.8617, allocations: 114.7 kB / 1.376 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.8618, allocations: 0.875 kB / 1.376 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.8622, allocations: 48.34 kB / 1.376 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.8623, allocations: 30.31 kB / 1.376 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.8623, allocations: 4.922 kB / 1.376 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003097/0.8626, allocations: 286.3 kB / 1.376 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003772/0.863, allocations: 72.03 kB / 1.376 GB, free: 29.84 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: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0003072/0.8633, allocations: 199.1 kB / 1.376 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00072/0.8641, allocations: 332.7 kB / 1.377 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8641, allocations: 0 / 1.377 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.8644, allocations: 179.6 kB / 1.377 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.8648, allocations: 42.28 kB / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.8661, allocations: 480.3 kB / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/0.8669, allocations: 0.8374 MB / 1.378 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/0.8669, allocations: 0 / 1.378 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of Templates: time 0.01111/0.878, allocations: 5.232 MB / 1.383 GB, free: 27.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches