Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001253, allocations: 176.8 kB / 316.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 92.52 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.639e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1679, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6076/0.7756, allocations: 135.2 MB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.776, allocations: 90.31 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.7907, allocations: 6.183 MB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.39e-05/0.7908, allocations: 0 / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.7908, allocations: 8 kB / 1.023 GB, free: 13.31 MB / 0.6511 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.0007261/0.7915, allocations: 0.5411 MB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.7916, allocations: 8.031 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.7917, allocations: 43.44 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.792, allocations: 255.4 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.792, allocations: 4 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.792, allocations: 11.98 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001997/0.7922, allocations: 75.75 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.7925, allocations: 124.3 kB / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.7925, allocations: 4 kB / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.7925, allocations: 0 / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.7925, allocations: 4 kB / 1.024 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.7933, allocations: 0.5538 MB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.7935, allocations: 86.14 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/0.7936, allocations: 45.28 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.7936, allocations: 0 / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7937, allocations: 38.31 kB / 1.025 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.7937, allocations: 4 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002189/0.7939, allocations: 108.1 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.794, allocations: 55.36 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.7943, allocations: 313.4 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.7943, allocations: 25.7 kB / 1.026 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.7944, allocations: 213.6 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.7945, allocations: 30.86 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.7945, allocations: 0 / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7946, allocations: 352.6 kB / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.7947, allocations: 19.47 kB / 1.026 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.7948, allocations: 44.45 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.7948, allocations: 26.94 kB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7948, allocations: 3.938 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000154/0.795, allocations: 119.5 kB / 1.026 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.795, allocations: 9.562 kB / 1.026 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.795, allocations: 0 / 1.026 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7951, allocations: 8.016 kB / 1.026 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.7952, allocations: 27.67 kB / 1.026 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.7952, allocations: 4 kB / 1.026 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.7953, allocations: 19.88 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.7953, allocations: 4 kB / 1.026 GB, free: 10.4 MB / 0.6511 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 6.73e-05/0.7954, allocations: 104.9 kB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.7955, allocations: 39.53 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.7955, allocations: 34.14 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7955, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7956, allocations: 4 kB / 1.027 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7956, allocations: 0 / 1.027 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.7958, allocations: 277.7 kB / 1.027 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7958, allocations: 0 / 1.027 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.796, allocations: 23.98 kB / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.796, allocations: 0 / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.796, allocations: 4 kB / 1.027 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.796, allocations: 0 / 1.027 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.796, allocations: 0 / 1.027 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.7963, allocations: 255.3 kB / 1.027 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.7964, allocations: 100.8 kB / 1.027 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.7964, allocations: 0 / 1.027 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.7965, allocations: 12.05 kB / 1.027 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.7966, allocations: 15.61 kB / 1.027 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.7966, allocations: 0 / 1.027 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002068/0.7968, allocations: 257.7 kB / 1.027 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7968, allocations: 0 / 1.027 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002443/0.797, allocations: 43.84 kB / 1.028 GB, free: 9.316 MB / 0.6511 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.0001942/0.7972, allocations: 130.7 kB / 1.028 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.7974, allocations: 59.94 kB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7974, allocations: 0 / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.7974, allocations: 29.94 kB / 1.028 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.7977, allocations: 24 kB / 1.028 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.7984, allocations: 460.8 kB / 1.028 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.7988, allocations: 0.8095 MB / 1.029 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.552e-05/0.7988, allocations: 4.562 kB / 1.029 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.7989, allocations: 11.44 kB / 1.029 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/0.7989, allocations: 4 kB / 1.029 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of Templates: time 0.004133/0.803, allocations: 1.269 MB / 1.03 GB, free: 6.578 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches