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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005605/0.005605, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001293/0.001293, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 461.9 MB / 0.7347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.91 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003633/1.023, allocations: 2.442 MB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008094/1.024, allocations: 0.5353 MB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/1.024, allocations: 0 / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003785/1.024, allocations: 127.4 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/1.024, allocations: 99.27 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/1.025, allocations: 39.95 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/1.025, allocations: 246.7 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/1.025, allocations: 102.8 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/1.025, allocations: 91.66 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/1.025, allocations: 99.44 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/1.025, allocations: 20 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.542e-05/1.025, allocations: 20 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.754e-05/1.026, allocations: 79.69 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/1.026, allocations: 155 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/1.026, allocations: 336.7 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.026, allocations: 7.938 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.316e-06/1.026, allocations: 0 / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.026, allocations: 3.938 kB / 1.212 GB, free: 9.215 MB / 0.9356 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.000829/1.027, allocations: 0.6495 MB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.027, allocations: 8.031 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/1.027, allocations: 44.38 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/1.027, allocations: 306.2 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/1.027, allocations: 12.38 kB / 1.213 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/1.027, allocations: 16.38 kB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/1.028, allocations: 135.5 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/1.028, allocations: 192 / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/1.028, allocations: 11.94 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.028, allocations: 4 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/1.028, allocations: 95.94 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/1.029, allocations: 0.5819 MB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/1.029, allocations: 94.59 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/1.029, allocations: 48.84 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/1.029, allocations: 4 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/1.029, allocations: 30.56 kB / 1.214 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/1.029, allocations: 0 / 1.214 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0003452/1.03, allocations: 145.1 kB / 1.214 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.03, allocations: 59.39 kB / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/1.03, allocations: 385.9 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.03, allocations: 29.7 kB / 1.215 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/1.03, allocations: 216 kB / 1.215 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/1.03, allocations: 35.45 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/1.03, allocations: 25.72 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.03, allocations: 354.7 kB / 1.215 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/1.031, allocations: 23.98 kB / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/1.031, allocations: 59.36 kB / 1.215 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/1.031, allocations: 91.67 kB / 1.215 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.031, allocations: 3.938 kB / 1.215 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002237/1.031, allocations: 149.2 kB / 1.215 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.031, allocations: 8.094 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.031, allocations: 4 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.031, allocations: 0 / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.031, allocations: 23.98 kB / 1.216 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.031, allocations: 3.984 kB / 1.216 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/1.031, allocations: 11.89 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/1.031, allocations: 4 kB / 1.216 GB, free: 5.34 MB / 0.9356 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.0001556/1.031, allocations: 170.6 kB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/1.032, allocations: 35.53 kB / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/1.032, allocations: 39.22 kB / 1.216 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.032, allocations: 3.984 kB / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.032, allocations: 4 kB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.032, allocations: 0 / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/1.032, allocations: 317.4 kB / 1.216 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.032, allocations: 0 / 1.216 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/1.032, allocations: 16 kB / 1.216 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.032, allocations: 0 / 1.216 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.032, allocations: 3.984 kB / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.032, allocations: 0 / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.032, allocations: 4 kB / 1.216 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/1.032, allocations: 259.1 kB / 1.216 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/1.033, allocations: 108.8 kB / 1.216 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/1.033, allocations: 4 kB / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/1.033, allocations: 0 / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/1.033, allocations: 11.98 kB / 1.216 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/1.033, allocations: 4 kB / 1.216 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002519/1.033, allocations: 287.1 kB / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 0 / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002795/1.033, allocations: 51.78 kB / 1.217 GB, free: 3.949 MB / 0.9356 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.0001366/1.033, allocations: 95.25 kB / 1.217 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002178/1.034, allocations: 71.91 kB / 1.217 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.034, allocations: 0 / 1.217 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/1.034, allocations: 44.11 kB / 1.217 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/1.034, allocations: 21.56 kB / 1.217 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.035, allocations: 0.6528 MB / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/1.035, allocations: 0.802 MB / 1.218 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.044e-05/1.036, allocations: 16.64 kB / 1.218 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/1.036, allocations: 11.44 kB / 1.218 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.036, allocations: 0 / 1.218 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of Templates: time 0.0044/1.04, allocations: 1.289 MB / 1.22 GB, free: 0.9102 MB / 0.9356 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","/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