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.001672/0.001672, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002028/0.002028, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.734 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.875/2.875, allocations: 476 MB / 0.7699 GB, free: 4.746 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.002738/0.002738, allocations: 68.66 kB / 1.117 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3213, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004051/0.3253, allocations: 2.349 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3263, allocations: 0.5042 MB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3265, allocations: 8 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.3269, allocations: 115.5 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.327, allocations: 95.27 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.3271, allocations: 39.95 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.3274, allocations: 238.7 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.3276, allocations: 75.61 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3277, allocations: 87.66 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3278, allocations: 91.44 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.3279, allocations: 20 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-05/0.3279, allocations: 20 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.328, allocations: 79.69 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3281, allocations: 123.2 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.3285, allocations: 343.8 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3285, allocations: 4 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3285, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.3285, allocations: 0 / 1.287 GB, free: 8.281 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.0009185/0.3295, allocations: 0.5916 MB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3295, allocations: 8.031 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.3296, allocations: 54.67 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.3296, allocations: 44.66 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.33, allocations: 248.7 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.33, allocations: 8.375 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.3301, allocations: 16.38 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.3304, allocations: 143.5 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3304, allocations: 7.938 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3304, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3304, allocations: 4 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.3306, allocations: 91.95 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.3315, allocations: 0.5186 MB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3317, allocations: 86.53 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3318, allocations: 48.91 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.3318, allocations: 0 / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3319, allocations: 38.5 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.3319, allocations: 0 / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003553/0.3322, allocations: 145.4 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3323, allocations: 51.41 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.3327, allocations: 393.9 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3327, allocations: 29.7 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.3329, allocations: 216.1 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.3329, allocations: 35.69 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.333, allocations: 29.72 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3331, allocations: 354.7 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.3332, allocations: 24.36 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3333, allocations: 59.36 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3335, allocations: 91.3 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3335, allocations: 0 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002558/0.3337, allocations: 153.3 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3337, allocations: 4 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3337, allocations: 4 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3338, allocations: 3.984 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3339, allocations: 23.98 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3339, allocations: 4 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.334, allocations: 3.953 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.334, allocations: 7.938 kB / 1.29 GB, free: 4.566 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.000162/0.3341, allocations: 173.8 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.3342, allocations: 35.77 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.3342, allocations: 35.22 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3342, allocations: 4 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3343, allocations: 0 / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3343, allocations: 0 / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.3346, allocations: 276.5 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3346, allocations: 0 / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3347, allocations: 19.98 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3347, allocations: 0 / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3347, allocations: 0 / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.3347, allocations: 8 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3347, allocations: 0 / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.3351, allocations: 263.2 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.3352, allocations: 39.72 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3352, allocations: 0 / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.3353, allocations: 12 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.3353, allocations: 3.984 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.3353, allocations: 4 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003037/0.3356, allocations: 291 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3356, allocations: 4.062 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002684/0.3359, allocations: 39.89 kB / 1.291 GB, free: 3.316 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.000663/0.3366, allocations: 0.7865 MB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.3368, allocations: 67.91 kB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3368, allocations: 0 / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.3369, allocations: 35.92 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3372, allocations: 26.47 kB / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.3404, allocations: 2.718 MB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.3407, allocations: 194.9 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.33e-05/0.3407, allocations: 12.66 kB / 1.295 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3409, allocations: 99.39 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3409, allocations: 0 / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.3744, allocations: 5.479 MB / 1.3 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.04, allocations: 7.844 kB / 1.3 GB, free: 9.93 MB / 0.9981 GB " [Timeout remaining time 287] (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.828321313019842]