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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 189.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.082/3.082, allocations: 489.7 MB / 0.7761 GB, free: 33.61 MB / 0.6231 GB [Timeout remaining time 87] 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=503,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=503,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 70.09 kB / 1.127 GB, free: 37.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3434, allocations: 172.1 MB / 1.295 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003954/0.3473, allocations: 2.464 MB / 1.297 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.3483, allocations: 0.5431 MB / 1.298 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/0.3484, allocations: 4 kB / 1.298 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.3488, allocations: 115.5 kB / 1.298 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.3489, allocations: 99.2 kB / 1.298 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.3491, allocations: 43.95 kB / 1.298 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.3494, allocations: 242.7 kB / 1.298 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.3496, allocations: 75.12 kB / 1.298 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3497, allocations: 87.66 kB / 1.298 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3499, allocations: 107.4 kB / 1.299 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.3499, allocations: 20 kB / 1.299 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.435e-05/0.3499, allocations: 20 kB / 1.299 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.35, allocations: 79.69 kB / 1.299 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.3502, allocations: 155 kB / 1.299 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.3506, allocations: 334.4 kB / 1.299 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3506, allocations: 0 / 1.299 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3506, allocations: 4 kB / 1.299 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3506, allocations: 0 / 1.299 GB, free: 7.453 MB / 0.9981 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.000967/0.3516, allocations: 0.6649 MB / 1.3 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3516, allocations: 8.031 kB / 1.3 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.3517, allocations: 48.59 kB / 1.3 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3522, allocations: 310.5 kB / 1.3 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3522, allocations: 12.38 kB / 1.3 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.3523, allocations: 16.38 kB / 1.3 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.3526, allocations: 143.8 kB / 1.3 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3526, allocations: 192 / 1.3 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.3526, allocations: 15.94 kB / 1.3 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3527, allocations: 4 kB / 1.3 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.353, allocations: 87.95 kB / 1.3 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.3538, allocations: 0.5899 MB / 1.301 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.3541, allocations: 78.55 kB / 1.301 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3542, allocations: 52.88 kB / 1.301 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3542, allocations: 4 kB / 1.301 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3543, allocations: 30.56 kB / 1.301 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.3543, allocations: 0 / 1.301 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003889/0.3546, allocations: 149.4 kB / 1.301 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3547, allocations: 59.39 kB / 1.301 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.3551, allocations: 386 kB / 1.302 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3552, allocations: 25.7 kB / 1.302 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3553, allocations: 212.2 kB / 1.302 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.3554, allocations: 35.69 kB / 1.302 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.3554, allocations: 29.66 kB / 1.302 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3556, allocations: 358.7 kB / 1.302 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.3557, allocations: 23.98 kB / 1.302 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3558, allocations: 59.42 kB / 1.302 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.356, allocations: 91.67 kB / 1.303 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.356, allocations: 3.938 kB / 1.303 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002855/0.3563, allocations: 153.4 kB / 1.303 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3563, allocations: 4 kB / 1.303 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3563, allocations: 0 / 1.303 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3563, allocations: 4 kB / 1.303 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3565, allocations: 27.92 kB / 1.303 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3565, allocations: 96 / 1.303 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.3565, allocations: 19.88 kB / 1.303 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3566, allocations: 8 kB / 1.303 GB, free: 3.543 MB / 0.9981 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.0002241/0.3568, allocations: 158.3 kB / 1.303 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.3568, allocations: 39.77 kB / 1.303 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.3569, allocations: 43.2 kB / 1.303 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3569, allocations: 0 / 1.303 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3569, allocations: 0 / 1.303 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3569, allocations: 3.938 kB / 1.303 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.3573, allocations: 313.5 kB / 1.303 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3573, allocations: 0 / 1.303 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3574, allocations: 16 kB / 1.303 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3574, allocations: 3.984 kB / 1.303 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3574, allocations: 4 kB / 1.303 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3574, allocations: 0 / 1.303 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3574, allocations: 0 / 1.303 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.3578, allocations: 259.2 kB / 1.304 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.3579, allocations: 116.8 kB / 1.304 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.358, allocations: 0 / 1.304 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.3581, allocations: 8.188 kB / 1.304 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3581, allocations: 3.984 kB / 1.304 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3581, allocations: 7.938 kB / 1.304 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002969/0.3584, allocations: 283.1 kB / 1.304 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 1.304 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002753/0.3587, allocations: 43.83 kB / 1.304 GB, free: 2.172 MB / 0.9981 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.0001602/0.3588, allocations: 115.2 kB / 1.304 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3591, allocations: 67.91 kB / 1.304 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3591, allocations: 0 / 1.304 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.3592, allocations: 31.92 kB / 1.304 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3595, allocations: 29.5 kB / 1.304 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3608, allocations: 0.697 MB / 1.305 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3613, allocations: 0.802 MB / 1.306 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.3614, allocations: 15.44 kB / 1.306 GB, free: 364 kB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3614, allocations: 0 / 1.306 GB, free: 364 kB / 0.9981 GB Notification: Performance of Templates: time 0.005552/0.3669, allocations: 3.003 MB / 1.309 GB, free: 13.36 MB / 1.014 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches