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.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.852 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.001062/0.001062, allocations: 181 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008409/0.000841, allocations: 83.78 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.71e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1802, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6229/0.8031, allocations: 134.9 MB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.8034, allocations: 85.14 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01434/0.8177, allocations: 6.259 MB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8178, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.8178, allocations: 8 kB / 1.03 GB, free: 10.29 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.0007423/0.8186, allocations: 0.5374 MB / 1.03 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.8186, allocations: 16.03 kB / 1.03 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.8187, allocations: 43.44 kB / 1.03 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.819, allocations: 253.2 kB / 1.031 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.819, allocations: 6.938 kB / 1.031 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.8191, allocations: 19.88 kB / 1.031 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.8194, allocations: 135.8 kB / 1.031 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.8195, allocations: 0 / 1.031 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.8195, allocations: 7.062 kB / 1.031 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.8195, allocations: 4 kB / 1.031 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.8198, allocations: 88.61 kB / 1.031 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.8206, allocations: 0.5968 MB / 1.031 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.8208, allocations: 101.4 kB / 1.031 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.8209, allocations: 48.36 kB / 1.032 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.8209, allocations: 0 / 1.032 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.8209, allocations: 34.56 kB / 1.032 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.8209, allocations: 0 / 1.032 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002241/0.8212, allocations: 121.3 kB / 1.032 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.8212, allocations: 55.41 kB / 1.032 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.8216, allocations: 359.9 kB / 1.032 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.8216, allocations: 25.7 kB / 1.032 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.8217, allocations: 210.6 kB / 1.032 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.8218, allocations: 31.36 kB / 1.032 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.8218, allocations: 3 kB / 1.032 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.8219, allocations: 344.8 kB / 1.033 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.822, allocations: 26.56 kB / 1.033 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.822, allocations: 40.22 kB / 1.033 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.8221, allocations: 31.45 kB / 1.033 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8221, allocations: 0 / 1.033 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001663/0.8223, allocations: 134.7 kB / 1.033 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.8223, allocations: 8 kB / 1.033 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8223, allocations: 3.938 kB / 1.033 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.8223, allocations: 0 / 1.033 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.8225, allocations: 31.17 kB / 1.033 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8225, allocations: 11.97 kB / 1.033 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.8226, allocations: 15.84 kB / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.8226, allocations: 4 kB / 1.033 GB, free: 7.262 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.9e-05/0.8227, allocations: 104.8 kB / 1.033 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.8227, allocations: 47.5 kB / 1.033 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.8228, allocations: 40.39 kB / 1.033 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.8228, allocations: 8 kB / 1.033 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8228, allocations: 0 / 1.033 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8228, allocations: 3.953 kB / 1.033 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.8231, allocations: 302.7 kB / 1.033 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8231, allocations: 0 / 1.033 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.8233, allocations: 27.98 kB / 1.033 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8233, allocations: 0 / 1.033 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.8233, allocations: 3.312 kB / 1.033 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8233, allocations: 3.984 kB / 1.033 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8233, allocations: 0 / 1.033 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.8236, allocations: 261.2 kB / 1.034 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.8237, allocations: 104.6 kB / 1.034 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.8237, allocations: 3.938 kB / 1.034 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8239, allocations: 15.17 kB / 1.034 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.8239, allocations: 7.984 kB / 1.034 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.8239, allocations: 0 / 1.034 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002514/0.8242, allocations: 293.8 kB / 1.034 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8242, allocations: 0 / 1.034 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002613/0.8244, allocations: 47.16 kB / 1.034 GB, free: 6.094 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.000189/0.8246, allocations: 131.7 kB / 1.034 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.8248, allocations: 69.86 kB / 1.034 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8248, allocations: 4 kB / 1.034 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.8249, allocations: 30.75 kB / 1.034 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.8251, allocations: 29.78 kB / 1.034 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.8259, allocations: 463.8 kB / 1.035 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.8263, allocations: 0.807 MB / 1.036 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.884e-05/0.8263, allocations: 13.2 kB / 1.036 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.8264, allocations: 15.44 kB / 1.036 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/0.8264, allocations: 0 / 1.036 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.005429/0.8318, allocations: 2.105 MB / 1.038 GB, free: 2.496 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