Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001189/0.001189, allocations: 106.5 kB / 15.99 MB, free: 5.914 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.001241/0.001241, allocations: 198 kB / 16.91 MB, free: 5.754 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.631/2.631, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 68.75 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.325, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004288/0.3293, allocations: 2.489 MB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.3303, allocations: 0.5316 MB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.3304, allocations: 8 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.3308, allocations: 119.8 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.331, allocations: 87.39 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.3311, allocations: 31.98 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3314, allocations: 250.7 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.3316, allocations: 107.3 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3318, allocations: 79.72 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3319, allocations: 107.4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.332, allocations: 20 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.332, allocations: 24 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.3321, allocations: 79.69 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3323, allocations: 155 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3325, allocations: 255.4 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3326, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3326, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3326, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 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.0008914/0.3335, allocations: 0.6417 MB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3335, allocations: 12.03 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.3336, allocations: 48.38 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.334, allocations: 298.2 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.334, allocations: 12.31 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.3341, allocations: 16.38 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.3344, allocations: 141.9 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3344, allocations: 192 / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.3344, allocations: 15.88 kB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3344, allocations: 4 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.3347, allocations: 91.95 kB / 1.07 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008708/0.3355, allocations: 0.5972 MB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3358, allocations: 86.56 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3359, allocations: 48.83 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3359, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.336, allocations: 42.55 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 8.61e-07/0.336, allocations: 0 / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0003692/0.3364, allocations: 141.1 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3364, allocations: 55.41 kB / 1.071 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.3368, allocations: 390 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3369, allocations: 29.7 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.337, allocations: 216 kB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3371, allocations: 31.56 kB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.3371, allocations: 33.61 kB / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3373, allocations: 354.7 kB / 1.072 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.3374, allocations: 20 kB / 1.072 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-05/0.3375, allocations: 63.41 kB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3377, allocations: 91.3 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3377, allocations: 4 kB / 1.072 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002448/0.338, allocations: 141.5 kB / 1.072 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.338, allocations: 4 kB / 1.072 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.338, allocations: 4 kB / 1.072 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.338, allocations: 4.094 kB / 1.072 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3381, allocations: 31.92 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3381, allocations: 0 / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.3382, allocations: 15.84 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3383, allocations: 0 / 1.072 GB, free: 6.875 MB / 0.8419 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.0001754/0.3384, allocations: 175.9 kB / 1.072 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.3385, allocations: 31.62 kB / 1.072 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.517e-05/0.3386, allocations: 39.22 kB / 1.072 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3386, allocations: 4 kB / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3386, allocations: 4 kB / 1.072 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3386, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.3389, allocations: 309.4 kB / 1.072 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.339, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.3391, allocations: 23.98 kB / 1.072 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3391, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3391, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3391, allocations: 4 kB / 1.072 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3391, allocations: 3.938 kB / 1.072 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.3395, allocations: 255 kB / 1.073 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3396, allocations: 116.7 kB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3397, allocations: 0 / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.3398, allocations: 4 kB / 1.073 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.3398, allocations: 7.984 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3398, allocations: 4 kB / 1.073 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002859/0.3401, allocations: 279.2 kB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3401, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002666/0.3404, allocations: 51.78 kB / 1.073 GB, free: 5.496 MB / 0.8419 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.0001451/0.3406, allocations: 103.4 kB / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3408, allocations: 75.84 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3408, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.3409, allocations: 35.92 kB / 1.073 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3413, allocations: 31.7 kB / 1.073 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3425, allocations: 0.803 MB / 1.074 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.343, allocations: 0.8058 MB / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.343, allocations: 11.44 kB / 1.075 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.343, allocations: 0 / 1.075 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.005134/0.3482, allocations: 2.975 MB / 1.078 GB, free: 0.625 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches