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.001689/0.001689, allocations: 104.5 kB / 16.45 MB, free: 6.449 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.002019/0.002019, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.908/2.908, allocations: 476.7 MB / 0.7672 GB, free: 5.227 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.002021/0.002021, allocations: 64.19 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7265, allocations: 169.9 MB / 1.278 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003901/0.7304, allocations: 2.484 MB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.7313, allocations: 0.5509 MB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.238e-05/0.7314, allocations: 4 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.7318, allocations: 119.5 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.7319, allocations: 99.27 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.732, allocations: 43.95 kB / 1.282 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.7323, allocations: 238.7 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.7325, allocations: 79.12 kB / 1.282 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.7326, allocations: 83.67 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.7328, allocations: 99.5 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.7328, allocations: 16 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.7329, allocations: 24 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.733, allocations: 79.69 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.7331, allocations: 159 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.7335, allocations: 348.3 kB / 1.283 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7335, allocations: 0 / 1.283 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7335, allocations: 0 / 1.283 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.7335, allocations: 0 / 1.283 GB, free: 9.133 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.0009109/0.7344, allocations: 0.6591 MB / 1.283 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7345, allocations: 12.03 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.7345, allocations: 46.73 kB / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.7346, allocations: 44.66 kB / 1.283 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.735, allocations: 310.5 kB / 1.284 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.735, allocations: 12.38 kB / 1.284 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.735, allocations: 12.38 kB / 1.284 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.7353, allocations: 143.8 kB / 1.284 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.7353, allocations: 3.938 kB / 1.284 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.7354, allocations: 8 kB / 1.284 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7354, allocations: 4 kB / 1.284 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.7356, allocations: 103.8 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.7365, allocations: 0.5857 MB / 1.284 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.7367, allocations: 78.67 kB / 1.285 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.7369, allocations: 52.8 kB / 1.285 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.7369, allocations: 4 kB / 1.285 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.7369, allocations: 34.56 kB / 1.285 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.7369, allocations: 3.938 kB / 1.285 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003786/0.7373, allocations: 141.4 kB / 1.285 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.7374, allocations: 59.41 kB / 1.285 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.7378, allocations: 393.8 kB / 1.285 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.7378, allocations: 33.7 kB / 1.285 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.738, allocations: 212.2 kB / 1.285 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.738, allocations: 35.69 kB / 1.285 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.7381, allocations: 25.72 kB / 1.285 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7382, allocations: 354.7 kB / 1.286 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.7383, allocations: 27.98 kB / 1.286 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.7384, allocations: 59.42 kB / 1.286 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.7386, allocations: 83.36 kB / 1.286 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7386, allocations: 4 kB / 1.286 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002761/0.7389, allocations: 145.3 kB / 1.286 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7389, allocations: 8 kB / 1.286 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7389, allocations: 0 / 1.286 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.7389, allocations: 4 kB / 1.286 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.7391, allocations: 28.45 kB / 1.286 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.7391, allocations: 0 / 1.286 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.7391, allocations: 11.89 kB / 1.286 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.7392, allocations: 15.97 kB / 1.286 GB, free: 5.164 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.000169/0.7393, allocations: 162.3 kB / 1.286 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.7394, allocations: 39.7 kB / 1.286 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.7395, allocations: 43.22 kB / 1.286 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7395, allocations: 0 / 1.286 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7395, allocations: 0 / 1.286 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7395, allocations: 0 / 1.286 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.7398, allocations: 313.5 kB / 1.287 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7398, allocations: 3.938 kB / 1.287 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.74, allocations: 23.98 kB / 1.287 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.74, allocations: 0 / 1.287 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.74, allocations: 4 kB / 1.287 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.74, allocations: 0 / 1.287 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.74, allocations: 3.938 kB / 1.287 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.7404, allocations: 259.2 kB / 1.287 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.7405, allocations: 112.9 kB / 1.287 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.7405, allocations: 64 / 1.287 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.7406, allocations: 8 kB / 1.287 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.7406, allocations: 7.984 kB / 1.287 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.7407, allocations: 4 kB / 1.287 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002976/0.7409, allocations: 279.1 kB / 1.287 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7409, allocations: 0 / 1.287 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003139/0.7413, allocations: 47.89 kB / 1.287 GB, free: 3.789 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.0007237/0.742, allocations: 0.7866 MB / 1.288 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.7422, allocations: 75.84 kB / 1.288 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7422, allocations: 3.938 kB / 1.288 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.7423, allocations: 28 kB / 1.288 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.7427, allocations: 25.8 kB / 1.288 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.7463, allocations: 2.723 MB / 1.291 GB, free: 28 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.7468, allocations: 0.802 MB / 1.292 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.881e-05/0.7469, allocations: 12.64 kB / 1.292 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.747, allocations: 107.4 kB / 1.292 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of SimCode: time 6.42e-07/0.747, allocations: 0 / 1.292 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.7788, allocations: 4.964 MB / 1.297 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.028/9.807, allocations: 9.766 kB / 1.297 GB, free: 10.25 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.07459685509093]