Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [: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 1.956/1.956, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001023/0.001023, allocations: 176.2 kB / 490.8 MB, free: 1.879 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.323/1.323, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0008609/0.0008612, allocations: 89.59 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.883e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.239, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6582/0.8972, allocations: 152.4 MB / 1.36 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.8975, allocations: 83.64 kB / 1.36 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01578/0.9133, allocations: 5.906 MB / 1.366 GB, free: 16.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.9134, allocations: 5 kB / 1.366 GB, free: 16.7 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007741/0.9142, allocations: 0.5449 MB / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.9142, allocations: 9.031 kB / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.9143, allocations: 43.72 kB / 1.367 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.9145, allocations: 255.5 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.9146, allocations: 4.719 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.9146, allocations: 12.69 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000208/0.9148, allocations: 76.98 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.9151, allocations: 118.6 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.9151, allocations: 0 / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.9151, allocations: 3.938 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.9151, allocations: 4.188 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007948/0.9159, allocations: 0.55 MB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.9161, allocations: 85.58 kB / 1.368 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.9162, allocations: 51.33 kB / 1.368 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.9163, allocations: 1.375 kB / 1.368 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.9163, allocations: 32.12 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.9163, allocations: 0 / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002388/0.9165, allocations: 114.7 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.9166, allocations: 52.88 kB / 1.368 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.9169, allocations: 311.2 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.9169, allocations: 25.7 kB / 1.368 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.917, allocations: 156.4 kB / 1.369 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.917, allocations: 29.08 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.917, allocations: 0 / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9172, allocations: 348.7 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.9172, allocations: 22.22 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.9173, allocations: 36.39 kB / 1.369 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/0.9174, allocations: 30.33 kB / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9174, allocations: 4.547 kB / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001661/0.9176, allocations: 120.4 kB / 1.369 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9176, allocations: 5.609 kB / 1.369 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9176, allocations: 5.219 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.9176, allocations: 1.25 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.9178, allocations: 30.44 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9178, allocations: 7.109 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.9179, allocations: 20.38 kB / 1.369 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.9179, allocations: 2.312 kB / 1.369 GB, free: 30.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.186e-05/0.918, allocations: 106.5 kB / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.918, allocations: 29.97 kB / 1.369 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.9181, allocations: 42.38 kB / 1.369 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9181, allocations: 10.03 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9181, allocations: 5.094 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.9181, allocations: 0 / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.9184, allocations: 270.5 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.9184, allocations: 1.062 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.9186, allocations: 29.59 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9186, allocations: 0 / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.9186, allocations: 2.312 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9186, allocations: 7.906 kB / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9186, allocations: 1.375 kB / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002711/0.9189, allocations: 243.4 kB / 1.37 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.919, allocations: 106.5 kB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.919, allocations: 1.312 kB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.9192, allocations: 14.64 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.9192, allocations: 9.062 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.9192, allocations: 3 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002406/0.9195, allocations: 253.2 kB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002535/0.9197, allocations: 43.06 kB / 1.37 GB, free: 30.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.00021/0.9199, allocations: 129.6 kB / 1.37 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.9201, allocations: 62.5 kB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9201, allocations: 0 / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.9202, allocations: 35.19 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.9204, allocations: 21.86 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.9212, allocations: 444 kB / 1.371 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/0.9217, allocations: 0.8256 MB / 1.372 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.012e-06/0.9217, allocations: 0 / 1.372 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of Templates: time 0.004651/0.9264, allocations: 1.428 MB / 1.373 GB, free: 28.97 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches