Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001365/0.001365, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001419/0.001419, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.356/1.356, 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 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.88 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8019, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003401/0.8053, allocations: 2.439 MB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.8061, allocations: 0.5347 MB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.8062, allocations: 3.406 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.8066, allocations: 127.7 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.8068, allocations: 89.8 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.8069, allocations: 44.36 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.8072, allocations: 248.4 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.8075, allocations: 110.2 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.8076, allocations: 94.62 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.8078, allocations: 93.48 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.8078, allocations: 23.56 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.845e-05/0.8079, allocations: 18.72 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.808, allocations: 76.27 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.8082, allocations: 151.8 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.8086, allocations: 352.8 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8086, allocations: 0.7031 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8086, allocations: 0 / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.8086, allocations: 0.9375 kB / 1.093 GB, free: 2.68 MB / 0.8575 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.0007413/0.8093, allocations: 0.6443 MB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.8094, allocations: 10.17 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.8095, allocations: 48.94 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.8098, allocations: 307.8 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.8098, allocations: 10.34 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.8099, allocations: 14.41 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.8101, allocations: 141 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.8102, allocations: 4.125 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.8102, allocations: 9.656 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.8102, allocations: 3.719 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.8104, allocations: 100.5 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.8112, allocations: 0.5813 MB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.8115, allocations: 85.86 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.8116, allocations: 51.83 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.8116, allocations: 0.75 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.8117, allocations: 36.5 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.8117, allocations: 4 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003596/0.812, allocations: 143.6 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.8121, allocations: 52.81 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.8125, allocations: 393.3 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.8125, allocations: 30.52 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.8127, allocations: 213.8 kB / 1.096 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.8127, allocations: 29.67 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.8128, allocations: 39.41 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.8128, allocations: 351.9 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.8129, allocations: 26.06 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.813, allocations: 49.84 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.8132, allocations: 97.97 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8132, allocations: 0.6875 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000262/0.8135, allocations: 142.1 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8135, allocations: 5.531 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8135, allocations: 2.047 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8136, allocations: 1.812 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.8137, allocations: 22.8 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8137, allocations: 6.766 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-05/0.8138, allocations: 11.23 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.8138, allocations: 3.875 kB / 1.096 GB, free: 12 kB / 0.8575 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.0001844/0.814, allocations: 170 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.8141, allocations: 31.69 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.8141, allocations: 38.36 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.8142, allocations: 1.531 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8142, allocations: 4.688 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8142, allocations: 5.719 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.8146, allocations: 312.2 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8146, allocations: 0 / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.8148, allocations: 22.61 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.8148, allocations: 1.297 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.8148, allocations: 4.5 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8148, allocations: 0.7188 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8148, allocations: 1.359 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.8152, allocations: 264.5 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.8153, allocations: 116.8 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.8154, allocations: 1.656 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.8155, allocations: 2.531 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.8155, allocations: 5.766 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.8155, allocations: 5.812 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003563/0.8159, allocations: 277.2 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8159, allocations: 0 / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003187/0.8162, allocations: 50.78 kB / 1.098 GB, free: 15.09 MB / 0.8731 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.0001406/0.8164, allocations: 102.9 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.8166, allocations: 72.81 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8166, allocations: 0.7188 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.957e-05/0.8168, allocations: 35.27 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.8172, allocations: 28.05 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.8185, allocations: 0.683 MB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.8189, allocations: 0.7987 MB / 1.099 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.819, allocations: 14.06 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.819, allocations: 0 / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.00601/0.825, allocations: 2.995 MB / 1.102 GB, free: 13.21 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches