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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009644/0.0009646, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009973/0.0009975, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 12 kB / 0.8708 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8045, allocations: 153.6 MB / 1.021 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002868/0.8074, allocations: 1.989 MB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.8082, allocations: 0.4962 MB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.8083, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.8087, allocations: 119.5 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.8089, allocations: 91.77 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.809, allocations: 27.97 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.8092, allocations: 175.6 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.8095, allocations: 85.31 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.8096, allocations: 75.67 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.8098, allocations: 87.56 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.8098, allocations: 8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.373e-05/0.8099, allocations: 8 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.8099, allocations: 71.69 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.028e-05/0.81, allocations: 85.52 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.8103, allocations: 245.3 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8103, allocations: 0 / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8103, allocations: 0 / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8103, allocations: 0 / 1.024 GB, free: 13.61 MB / 0.7794 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.0008867/0.8112, allocations: 0.6067 MB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.8113, allocations: 11.98 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.8114, allocations: 43.44 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.8118, allocations: 285.2 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.8118, allocations: 12 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.8118, allocations: 16 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.8121, allocations: 141.3 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.8122, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.8122, allocations: 8 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8122, allocations: 8 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.8124, allocations: 87.95 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/0.8133, allocations: 0.5859 MB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.8136, allocations: 90.61 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.8136, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.8136, allocations: 38.69 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.8136, allocations: 4 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003612/0.814, allocations: 153.1 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.8141, allocations: 55.41 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.8145, allocations: 386 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.8145, allocations: 25.7 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.8147, allocations: 211.9 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.8147, allocations: 35.55 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.8147, allocations: 8 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8149, allocations: 354.8 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/0.815, allocations: 31.92 kB / 1.027 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.8151, allocations: 55.42 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.883e-05/0.8152, allocations: 35.92 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8152, allocations: 4 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000238/0.8155, allocations: 137.2 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.8155, allocations: 8 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8155, allocations: 0 / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8155, allocations: 0 / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.8156, allocations: 27.92 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.8157, allocations: 7.984 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.8158, allocations: 19.83 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.8158, allocations: 8.094 kB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001642/0.816, allocations: 165.8 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.816, allocations: 35.52 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.369e-05/0.8161, allocations: 39.22 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.8161, allocations: 0 / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8161, allocations: 4.406 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.8161, allocations: 4 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.8165, allocations: 305.5 kB / 1.028 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8165, allocations: 4 kB / 1.028 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.8166, allocations: 23.98 kB / 1.028 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8166, allocations: 7.938 kB / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.8166, allocations: 0 / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8166, allocations: 0 / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8166, allocations: 0 / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.817, allocations: 255 kB / 1.028 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.8171, allocations: 112.7 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.8171, allocations: 8.047 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.8172, allocations: 4 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.8173, allocations: 7.984 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.8173, allocations: 4 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002601/0.8176, allocations: 271.1 kB / 1.029 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8176, allocations: 0 / 1.029 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002677/0.8178, allocations: 47.84 kB / 1.029 GB, free: 8.562 MB / 0.7794 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.000151/0.818, allocations: 107.2 kB / 1.029 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.8182, allocations: 71.91 kB / 1.029 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.8182, allocations: 3.938 kB / 1.029 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.8183, allocations: 31.94 kB / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.8186, allocations: 26.02 kB / 1.029 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.8198, allocations: 0.801 MB / 1.03 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.8203, allocations: 0.8178 MB / 1.031 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.069e-05/0.8203, allocations: 12.64 kB / 1.031 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.8204, allocations: 15.44 kB / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.8204, allocations: 0 / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of Templates: time 0.004522/0.8249, allocations: 1.144 MB / 1.032 GB, free: 5.484 MB / 0.7794 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