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.001595/0.001595, allocations: 108 kB / 15.6 MB, free: 132 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.002087/0.002087, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.8 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3215, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004199/0.3257, allocations: 2.438 MB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3269, allocations: 0.5392 MB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.3271, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.3277, allocations: 135.7 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.328, allocations: 83.3 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.3282, allocations: 47.94 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.3285, allocations: 242.6 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.3288, allocations: 119.3 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.329, allocations: 79.72 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3292, allocations: 103.4 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.3292, allocations: 16 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.3293, allocations: 27.94 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3294, allocations: 79.69 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3296, allocations: 155 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.33, allocations: 334.7 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.33, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.482e-06/0.33, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.33, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 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.0009791/0.331, allocations: 0.6456 MB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3311, allocations: 12.03 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.3312, allocations: 48.36 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.3316, allocations: 302.2 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3317, allocations: 8.375 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.3317, allocations: 16.38 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.332, allocations: 139.8 kB / 1.074 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.332, allocations: 4.125 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.332, allocations: 7.938 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3321, allocations: 8 kB / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.3323, allocations: 87.95 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.3332, allocations: 0.5972 MB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3335, allocations: 86.61 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3336, allocations: 52.88 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.3336, allocations: 0 / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3336, allocations: 38.5 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.3337, allocations: 0 / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004126/0.3341, allocations: 153.1 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3341, allocations: 51.41 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.3345, allocations: 386 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3346, allocations: 25.7 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3347, allocations: 216 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3348, allocations: 35.55 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.3348, allocations: 29.62 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.335, allocations: 351.1 kB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.3351, allocations: 27.98 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3352, allocations: 58.98 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3354, allocations: 99.3 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3354, allocations: 0 / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002511/0.3356, allocations: 141.2 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3357, allocations: 4 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3357, allocations: 4 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3357, allocations: 8.078 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3358, allocations: 23.94 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3358, allocations: 4 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.3359, allocations: 11.83 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3359, allocations: 8 kB / 1.076 GB, free: 2.145 MB / 0.8262 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.0001795/0.3361, allocations: 168 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.3362, allocations: 31.62 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.3363, allocations: 39.2 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3363, allocations: 8 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3363, allocations: 0 / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3363, allocations: 4 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.3366, allocations: 309.4 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3366, allocations: 0 / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.3368, allocations: 23.92 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3368, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3368, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3368, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3368, allocations: 0 / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.3372, allocations: 263 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.3373, allocations: 108.8 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3373, allocations: 4 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.3374, allocations: 4 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.3374, allocations: 11.97 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3375, allocations: 0 / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002836/0.3377, allocations: 283.1 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3378, allocations: 4.062 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002966/0.3381, allocations: 47.78 kB / 1.077 GB, free: 0.7656 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.0001325/0.3382, allocations: 99.25 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.3384, allocations: 79.84 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3385, allocations: 0 / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.3385, allocations: 39.86 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3389, allocations: 35.28 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3401, allocations: 0.657 MB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3405, allocations: 0.802 MB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.833e-05/0.3406, allocations: 16.62 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.3406, allocations: 15.44 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.3406, allocations: 0 / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.004463/0.3451, allocations: 1.255 MB / 1.08 GB, free: 13.73 MB / 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=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