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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001381/0.001382, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 192.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.068/3.068, allocations: 482.6 MB / 0.7549 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001935, allocations: 72.72 kB / 0.9241 GB, free: 29.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 162.3 MB / 1.083 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003973/0.3415, allocations: 2.448 MB / 1.085 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.3424, allocations: 0.5315 MB / 1.085 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.3425, allocations: 4 kB / 1.085 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.3429, allocations: 131.7 kB / 1.086 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.343, allocations: 91.27 kB / 1.086 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.3432, allocations: 43.91 kB / 1.086 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.3434, allocations: 238.8 kB / 1.086 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.3437, allocations: 111.3 kB / 1.086 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3438, allocations: 87.66 kB / 1.086 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.344, allocations: 99.5 kB / 1.086 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.344, allocations: 20 kB / 1.086 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.475e-05/0.3441, allocations: 20 kB / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3442, allocations: 79.69 kB / 1.086 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.3443, allocations: 162.9 kB / 1.087 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.3447, allocations: 326.7 kB / 1.087 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3447, allocations: 0 / 1.087 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3447, allocations: 0 / 1.087 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3447, allocations: 4 kB / 1.087 GB, free: 8.566 MB / 0.8419 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.0009069/0.3456, allocations: 0.6417 MB / 1.087 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3457, allocations: 12.02 kB / 1.087 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.3458, allocations: 48.38 kB / 1.088 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.3462, allocations: 298.2 kB / 1.088 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.3462, allocations: 16.38 kB / 1.088 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.3462, allocations: 16.31 kB / 1.088 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.3466, allocations: 135.8 kB / 1.088 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3466, allocations: 192 / 1.088 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.3466, allocations: 19.92 kB / 1.088 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3466, allocations: 3.984 kB / 1.088 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.3469, allocations: 95.95 kB / 1.088 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.3478, allocations: 0.5934 MB / 1.089 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.3481, allocations: 90.55 kB / 1.089 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3482, allocations: 44.89 kB / 1.089 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3483, allocations: 0 / 1.089 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3483, allocations: 38.56 kB / 1.089 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.3483, allocations: 4 kB / 1.089 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0003949/0.3487, allocations: 149.1 kB / 1.089 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3488, allocations: 51.41 kB / 1.089 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.3492, allocations: 386 kB / 1.089 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.3492, allocations: 29.7 kB / 1.089 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.3494, allocations: 215.9 kB / 1.09 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3495, allocations: 31.55 kB / 1.09 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.3495, allocations: 29.72 kB / 1.09 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3497, allocations: 354.7 kB / 1.09 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.3498, allocations: 31.92 kB / 1.09 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3499, allocations: 59.36 kB / 1.09 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3501, allocations: 87.73 kB / 1.09 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3501, allocations: 0 / 1.09 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002843/0.3504, allocations: 149.1 kB / 1.09 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3504, allocations: 8 kB / 1.09 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.3504, allocations: 3.984 kB / 1.09 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3505, allocations: 4 kB / 1.09 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3506, allocations: 20.09 kB / 1.09 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3506, allocations: 7.984 kB / 1.09 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.3507, allocations: 11.84 kB / 1.09 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3507, allocations: 4 kB / 1.09 GB, free: 4.684 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.3509, allocations: 165.7 kB / 1.091 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.351, allocations: 35.53 kB / 1.091 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.351, allocations: 43.2 kB / 1.091 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.351, allocations: 0 / 1.091 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.3511, allocations: 0 / 1.091 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3511, allocations: 4 kB / 1.091 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.3515, allocations: 313.5 kB / 1.091 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3515, allocations: 0 / 1.091 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3516, allocations: 19.98 kB / 1.091 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3516, allocations: 3.984 kB / 1.091 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3516, allocations: 4 kB / 1.091 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3516, allocations: 0 / 1.091 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3516, allocations: 0 / 1.091 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.352, allocations: 259 kB / 1.091 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3521, allocations: 108.7 kB / 1.091 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3522, allocations: 0 / 1.091 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.3523, allocations: 7.984 kB / 1.091 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.3523, allocations: 7.938 kB / 1.091 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3523, allocations: 4 kB / 1.091 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000287/0.3526, allocations: 275.3 kB / 1.092 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3526, allocations: 0 / 1.092 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002738/0.3529, allocations: 55.72 kB / 1.092 GB, free: 3.301 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.3531, allocations: 107.8 kB / 1.092 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.3533, allocations: 67.91 kB / 1.092 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.3533, allocations: 0 / 1.092 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.3534, allocations: 43.86 kB / 1.092 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3538, allocations: 30.88 kB / 1.092 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.355, allocations: 0.661 MB / 1.093 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.3555, allocations: 0.8019 MB / 1.093 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.3556, allocations: 12.64 kB / 1.093 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3557, allocations: 15.44 kB / 1.093 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3557, allocations: 0 / 1.093 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of Templates: time 0.005171/0.3609, allocations: 1.265 MB / 1.095 GB, free: 260 kB / 0.8419 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=400 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches