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.356/1.356, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 185.3 kB / 326.5 MB, free: 2.227 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.646/1.646, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008501/0.0008499, allocations: 99.72 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 10.84 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.4099, allocations: 135 MB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4102, allocations: 83.95 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.4252, allocations: 6.266 MB / 1.038 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4252, allocations: 0 / 1.038 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.4253, allocations: 4 kB / 1.038 GB, free: 2.297 MB / 0.6823 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.0008328/0.4261, allocations: 0.6027 MB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.4262, allocations: 11.97 kB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.4262, allocations: 47.44 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.4265, allocations: 257.2 kB / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.4266, allocations: 12 kB / 1.039 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.4266, allocations: 12 kB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.427, allocations: 149.4 kB / 1.039 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.427, allocations: 0 / 1.039 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.4271, allocations: 8 kB / 1.039 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4271, allocations: 11.94 kB / 1.039 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.4274, allocations: 123.9 kB / 1.039 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.4284, allocations: 0.5977 MB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.4287, allocations: 110.5 kB / 1.04 GB, free: 220 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4287, allocations: 4 kB / 1.04 GB, free: 216 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4287, allocations: 34.62 kB / 1.04 GB, free: 172 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.4287, allocations: 0 / 1.04 GB, free: 172 kB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004982/0.4292, allocations: 197.3 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4293, allocations: 55.41 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.4296, allocations: 361 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4297, allocations: 29.7 kB / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4298, allocations: 203.8 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.4299, allocations: 35.55 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.4299, allocations: 8 kB / 1.041 GB, free: 15.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4301, allocations: 346.8 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.4302, allocations: 39.97 kB / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4303, allocations: 65.62 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.4305, allocations: 49.98 kB / 1.041 GB, free: 14.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4305, allocations: 0 / 1.041 GB, free: 14.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003206/0.4308, allocations: 165.1 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4308, allocations: 4.469 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4309, allocations: 4 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4309, allocations: 0 / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.4311, allocations: 27.97 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4311, allocations: 7.953 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.4312, allocations: 27.8 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.4312, allocations: 8 kB / 1.042 GB, free: 14.51 MB / 0.698 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.000184/0.4314, allocations: 157.8 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.4315, allocations: 39.53 kB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.4316, allocations: 39.33 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4316, allocations: 3.984 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4316, allocations: 0 / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4316, allocations: 7.953 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.432, allocations: 305.5 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.432, allocations: 4 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.4322, allocations: 23.98 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4322, allocations: 0 / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4322, allocations: 4 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4322, allocations: 0 / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4322, allocations: 0 / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.4327, allocations: 306.9 kB / 1.042 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.4328, allocations: 116.6 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.4329, allocations: 0 / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.433, allocations: 12.06 kB / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.433, allocations: 11.98 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.4331, allocations: 0 / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002816/0.4333, allocations: 299 kB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4333, allocations: 0 / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000283/0.4336, allocations: 43.91 kB / 1.043 GB, free: 13.07 MB / 0.698 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.0002154/0.4339, allocations: 131.7 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.4342, allocations: 95.89 kB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4342, allocations: 4.344 kB / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4343, allocations: 55.84 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4346, allocations: 40.88 kB / 1.043 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.4357, allocations: 0.7626 MB / 1.044 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4361, allocations: 0.8101 MB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.642e-05/0.4362, allocations: 13.41 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.4362, allocations: 15.44 kB / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.4362, allocations: 0 / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of Templates: time 0.005322/0.4416, allocations: 2.001 MB / 1.047 GB, free: 9.105 MB / 0.698 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