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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 216 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 66.58 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 169.9 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004127/0.354, allocations: 2.511 MB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.3549, allocations: 0.547 MB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.355, allocations: 4 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.3553, allocations: 127.4 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.3555, allocations: 95.28 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.3556, allocations: 47.88 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3559, allocations: 242.8 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.356, allocations: 75.61 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3561, allocations: 87.66 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.3563, allocations: 99.44 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.3563, allocations: 20 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.3564, allocations: 20 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.3565, allocations: 79.69 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.3566, allocations: 155 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.357, allocations: 346.5 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.357, allocations: 4 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.357, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.357, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 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.000865/0.3579, allocations: 0.5817 MB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3579, allocations: 8.031 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.358, allocations: 58.61 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.358, allocations: 48.66 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3584, allocations: 244.7 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3584, allocations: 8.375 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3584, allocations: 16.38 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.3587, allocations: 143.5 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3587, allocations: 3.938 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.3587, allocations: 4 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3587, allocations: 4 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.359, allocations: 95.95 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.3598, allocations: 0.5575 MB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.36, allocations: 78.56 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.3601, allocations: 48.89 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3602, allocations: 0 / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3602, allocations: 38.55 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.3602, allocations: 0 / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003691/0.3606, allocations: 145.4 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3606, allocations: 51.41 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.361, allocations: 386 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.361, allocations: 37.7 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3612, allocations: 216.1 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3612, allocations: 31.7 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.3613, allocations: 33.64 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3615, allocations: 354.7 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.3615, allocations: 24 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.3616, allocations: 64.03 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.3618, allocations: 87.67 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3618, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002515/0.3621, allocations: 157.4 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3621, allocations: 4 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3621, allocations: 0 / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3621, allocations: 4 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3622, allocations: 27.98 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3622, allocations: 0 / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.3623, allocations: 11.89 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3623, allocations: 7.938 kB / 1.291 GB, free: 3.598 MB / 0.9825 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.0001546/0.3625, allocations: 161.8 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.3625, allocations: 47.77 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.3626, allocations: 39.22 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3626, allocations: 0 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3626, allocations: 0 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3626, allocations: 0 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.3629, allocations: 284.5 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3629, allocations: 0 / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.3631, allocations: 19.98 kB / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3631, allocations: 0 / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3631, allocations: 4 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3631, allocations: 0 / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3631, allocations: 4 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.3634, allocations: 259.2 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.3635, allocations: 35.73 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3635, allocations: 192 / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3636, allocations: 11.98 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.3637, allocations: 7.922 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3637, allocations: 8.062 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002912/0.364, allocations: 275.1 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.364, allocations: 4 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002719/0.3642, allocations: 43.89 kB / 1.292 GB, free: 2.348 MB / 0.9825 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.00067/0.3649, allocations: 0.7904 MB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3651, allocations: 67.92 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3651, allocations: 0 / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.755e-05/0.3652, allocations: 35.92 kB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3656, allocations: 21.64 kB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.369, allocations: 2.726 MB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3694, allocations: 0.7942 MB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.765e-05/0.3695, allocations: 12.64 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3696, allocations: 111.3 kB / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3696, allocations: 0 / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.4059, allocations: 5.106 MB / 1.302 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 6.969 kB / 1.302 GB, free: 8.695 MB / 0.9981 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/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) [Timeout 300] "Error: Could not read variable eng.TRoo.T in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TRoo.T from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TWat.T in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TWat.T from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.QGen_flow in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.QGen_flow from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable per.capEng in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable per.capEng from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TEng in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TEng from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.497359580000193]