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.001081/0.001081, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00137/0.001371, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 63.14 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3214, allocations: 157.4 MB / 1.052 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004284/0.3257, allocations: 2.497 MB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.3267, allocations: 0.5277 MB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.3269, allocations: 8 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.3274, allocations: 127.8 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.3276, allocations: 71.42 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.3277, allocations: 43.95 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.328, allocations: 250.6 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.3282, allocations: 111.3 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3283, allocations: 79.72 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.3285, allocations: 103.5 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.3285, allocations: 20 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.843e-05/0.3286, allocations: 24 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3287, allocations: 83.62 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3288, allocations: 159 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.3292, allocations: 326.7 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3292, allocations: 0 / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3292, allocations: 4 kB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3292, allocations: 0 / 1.057 GB, free: 4.348 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.0009177/0.3301, allocations: 0.6494 MB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.3302, allocations: 8.625 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.3303, allocations: 40.47 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.3307, allocations: 302.1 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3308, allocations: 16.38 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.3308, allocations: 12.38 kB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.3311, allocations: 141.9 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3311, allocations: 192 / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3312, allocations: 15.94 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3312, allocations: 4 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.3314, allocations: 91.89 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.3323, allocations: 0.5933 MB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.3326, allocations: 86.66 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3327, allocations: 48.84 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3327, allocations: 0 / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3328, allocations: 38.56 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 9.91e-07/0.3328, allocations: 0 / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003609/0.3331, allocations: 145.1 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3332, allocations: 55.34 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.3336, allocations: 390 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3336, allocations: 25.7 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3338, allocations: 216 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.3338, allocations: 39.53 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.3339, allocations: 25.72 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3341, allocations: 350.7 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.3341, allocations: 27.98 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3343, allocations: 55.36 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3344, allocations: 95.67 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3345, allocations: 0 / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002781/0.3347, allocations: 153.1 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3348, allocations: 8 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3348, allocations: 0 / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3348, allocations: 4.094 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3349, allocations: 23.98 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3349, allocations: 7.938 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3351, allocations: 15.83 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3351, allocations: 8 kB / 1.06 GB, free: 472 kB / 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.0002125/0.3353, allocations: 161.8 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.3354, allocations: 27.62 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.567e-05/0.3354, allocations: 39.22 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3354, allocations: 4 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3355, allocations: 0 / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3355, allocations: 7.984 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.3359, allocations: 309.4 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3359, allocations: 4 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.336, allocations: 12 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.336, allocations: 4 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3361, allocations: 0 / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3361, allocations: 7.922 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3361, allocations: 0 / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.3365, allocations: 255 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3366, allocations: 112.8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.3366, allocations: 0 / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3367, allocations: 11.94 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3368, allocations: 7.984 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.3368, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003041/0.3371, allocations: 287.2 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3371, allocations: 0 / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002964/0.3374, allocations: 47.78 kB / 1.061 GB, free: 15.09 MB / 0.8262 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.0001466/0.3376, allocations: 99.25 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3378, allocations: 83.84 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3378, allocations: 0 / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.3379, allocations: 36.11 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3383, allocations: 25.55 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3396, allocations: 0.7686 MB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.34, allocations: 0.7987 MB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.3401, allocations: 12.64 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.3402, allocations: 19.38 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3402, allocations: 0 / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.005059/0.3452, allocations: 1.23 MB / 1.064 GB, free: 11.97 MB / 0.8262 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