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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.271/2.271, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.00171/0.00171, allocations: 189.5 kB / 0.4902 GB, free: 2.254 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.614/1.614, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001161/0.001161, allocations: 94.27 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004121, allocations: 10.28 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2887, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.4823, allocations: 153.2 MB / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.4827, allocations: 83.95 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.4982, allocations: 6.233 MB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.867e-06/0.4982, allocations: 0 / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.4982, allocations: 11.94 kB / 1.385 GB, free: 9.992 MB / 0.8855 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.0009163/0.4992, allocations: 0.6027 MB / 1.386 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4992, allocations: 8.562 kB / 1.386 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.269e-05/0.4993, allocations: 43.48 kB / 1.386 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.4996, allocations: 257.3 kB / 1.386 GB, free: 9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.4996, allocations: 15.92 kB / 1.386 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.4997, allocations: 20 kB / 1.386 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.5, allocations: 157.1 kB / 1.386 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5, allocations: 0 / 1.386 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.5001, allocations: 4 kB / 1.386 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5001, allocations: 4 kB / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.5004, allocations: 127.9 kB / 1.386 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.5013, allocations: 0.6055 MB / 1.387 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.5016, allocations: 106.6 kB / 1.387 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.5017, allocations: 0 / 1.387 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5017, allocations: 46.69 kB / 1.387 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.5017, allocations: 0 / 1.387 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0005099/0.5022, allocations: 193 kB / 1.387 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.5023, allocations: 55.41 kB / 1.387 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.5027, allocations: 357.1 kB / 1.387 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5027, allocations: 33.7 kB / 1.388 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.5029, allocations: 199.8 kB / 1.388 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.5029, allocations: 31.55 kB / 1.388 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.5029, allocations: 4 kB / 1.388 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5031, allocations: 350.8 kB / 1.388 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.5032, allocations: 43.97 kB / 1.388 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.5034, allocations: 49.7 kB / 1.388 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.5035, allocations: 51.91 kB / 1.388 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5035, allocations: 4 kB / 1.388 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003312/0.5038, allocations: 173.4 kB / 1.388 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5039, allocations: 4 kB / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5039, allocations: 0 / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5039, allocations: 4.031 kB / 1.388 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.504, allocations: 31.94 kB / 1.388 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5041, allocations: 3.984 kB / 1.388 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.5042, allocations: 19.84 kB / 1.388 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.5042, allocations: 0 / 1.388 GB, free: 6.207 MB / 0.8855 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 () * Number of clocked 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 0.0001622/0.5044, allocations: 165.8 kB / 1.389 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.5044, allocations: 39.53 kB / 1.389 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.5045, allocations: 39.33 kB / 1.389 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5045, allocations: 0 / 1.389 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5045, allocations: 3.953 kB / 1.389 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5045, allocations: 3.984 kB / 1.389 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.5049, allocations: 309.5 kB / 1.389 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5049, allocations: 0 / 1.389 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.505, allocations: 31.95 kB / 1.389 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.505, allocations: 0 / 1.389 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5051, allocations: 4 kB / 1.389 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5051, allocations: 0 / 1.389 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5051, allocations: 0 / 1.389 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.5056, allocations: 306.9 kB / 1.389 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.5057, allocations: 116.6 kB / 1.389 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.5057, allocations: 3.984 kB / 1.389 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.5058, allocations: 8 kB / 1.389 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.5059, allocations: 7.984 kB / 1.389 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5059, allocations: 4 kB / 1.389 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002929/0.5062, allocations: 295.2 kB / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5062, allocations: 0 / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002861/0.5065, allocations: 43.86 kB / 1.39 GB, free: 4.762 MB / 0.8855 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 () * Number of clocked 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.0002187/0.5067, allocations: 140.4 kB / 1.39 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.507, allocations: 100 kB / 1.39 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.507, allocations: 4 kB / 1.39 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.5072, allocations: 51.97 kB / 1.39 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.5075, allocations: 37.55 kB / 1.39 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.5086, allocations: 0.7628 MB / 1.391 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.509, allocations: 0.8023 MB / 1.392 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.141e-05/0.5091, allocations: 21.36 kB / 1.392 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.5092, allocations: 11.44 kB / 1.392 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.5092, allocations: 0 / 1.392 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of Templates: time 0.005349/0.5145, allocations: 2 MB / 1.394 GB, free: 0.7969 MB / 0.8855 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