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.001342/0.001342, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001492/0.001492, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.484/2.484, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.47 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3519, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004046/0.356, allocations: 2.454 MB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008327/0.3568, allocations: 0.5276 MB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.3569, allocations: 4 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.3573, allocations: 127.7 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3575, allocations: 95.2 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.3576, allocations: 47.89 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.3579, allocations: 246.6 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.3582, allocations: 119 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3583, allocations: 79.73 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3584, allocations: 95.5 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.3585, allocations: 20 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.699e-05/0.3585, allocations: 20 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.3586, allocations: 79.69 kB / 1.031 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.3588, allocations: 162.9 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.3591, allocations: 334.7 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3591, allocations: 4 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3591, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3592, allocations: 4 kB / 1.031 GB, free: 13.69 MB / 0.8106 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.0008769/0.36, allocations: 0.6417 MB / 1.032 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3601, allocations: 8.031 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.3602, allocations: 40.47 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.3605, allocations: 306.1 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3606, allocations: 20.38 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.3606, allocations: 12.38 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3609, allocations: 137.9 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3609, allocations: 192 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.3609, allocations: 15.94 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3609, allocations: 4 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.3612, allocations: 91.89 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000822/0.362, allocations: 0.5894 MB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3623, allocations: 82.62 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3624, allocations: 56.81 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3624, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3624, allocations: 34.56 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.3624, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003585/0.3628, allocations: 145.4 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3629, allocations: 59.34 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.3633, allocations: 390 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3633, allocations: 25.8 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.3635, allocations: 216 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3635, allocations: 27.56 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.3636, allocations: 33.7 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3638, allocations: 354.7 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.3638, allocations: 23.98 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.3639, allocations: 55.42 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3641, allocations: 87.36 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3641, allocations: 4 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002424/0.3644, allocations: 149.1 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3644, allocations: 4 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3644, allocations: 4 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3644, allocations: 0 / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3646, allocations: 28.08 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3646, allocations: 3.938 kB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.615e-05/0.3647, allocations: 11.84 kB / 1.035 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3647, allocations: 4 kB / 1.035 GB, free: 9.82 MB / 0.8106 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.0001661/0.3648, allocations: 169.7 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.3649, allocations: 31.62 kB / 1.035 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.441e-05/0.365, allocations: 35.22 kB / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.365, allocations: 0 / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.365, allocations: 8 kB / 1.035 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.365, allocations: 4 kB / 1.035 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.3654, allocations: 317.4 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3654, allocations: 0 / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3655, allocations: 19.98 kB / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3655, allocations: 3.984 kB / 1.035 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3656, allocations: 4.031 kB / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3656, allocations: 3.938 kB / 1.035 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3656, allocations: 3.938 kB / 1.035 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.3659, allocations: 259 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.366, allocations: 112.7 kB / 1.035 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.3661, allocations: 4 kB / 1.035 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.3662, allocations: 4 kB / 1.035 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.3662, allocations: 7.984 kB / 1.035 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3662, allocations: 0 / 1.035 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002616/0.3665, allocations: 275.1 kB / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3665, allocations: 0 / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002768/0.3668, allocations: 59.83 kB / 1.036 GB, free: 8.43 MB / 0.8106 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.0001269/0.3669, allocations: 99.25 kB / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3672, allocations: 71.84 kB / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3672, allocations: 0 / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.3673, allocations: 35.98 kB / 1.036 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.3677, allocations: 29.73 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3688, allocations: 0.6497 MB / 1.037 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.3692, allocations: 0.7988 MB / 1.037 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.557e-05/0.3692, allocations: 16.64 kB / 1.037 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.3693, allocations: 15.38 kB / 1.037 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3693, allocations: 0 / 1.037 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of Templates: time 0.004442/0.3737, allocations: 1.255 MB / 1.039 GB, free: 5.414 MB / 0.8106 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 -s gbode -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/jenkins1/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