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.0007608/0.0007608, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007864/0.0007864, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8827/0.8827, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.644/1.644, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/2.005e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003893/0.003913, allocations: 2.357 MB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.004927, allocations: 0.512 MB / 0.9533 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.005051, allocations: 4 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.005461, allocations: 115.2 kB / 0.9534 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.005647, allocations: 103.2 kB / 0.9535 GB, free: 360 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.005786, allocations: 47.89 kB / 0.9536 GB, free: 312 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.006058, allocations: 250.5 kB / 0.9538 GB, free: 60 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.006291, allocations: 71.67 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.006486, allocations: 131.7 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.006621, allocations: 71.73 kB / 0.9541 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.006667, allocations: 20 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-05/0.006703, allocations: 20 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.006795, allocations: 83.69 kB / 0.9542 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.006889, allocations: 95.64 kB / 0.9543 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.007242, allocations: 326.9 kB / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.007245, allocations: 0 / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.273e-06/0.007246, allocations: 0 / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.007253, allocations: 0 / 0.9546 GB, free: 15.25 MB / 0.9167 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.0007879/0.008041, allocations: 0.574 MB / 0.9552 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.008084, allocations: 11.97 kB / 0.9552 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.008141, allocations: 58.73 kB / 0.9552 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.00821, allocations: 48.59 kB / 0.9553 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.00855, allocations: 239.9 kB / 0.9555 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.00857, allocations: 12.38 kB / 0.9555 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.008605, allocations: 16.38 kB / 0.9555 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.008874, allocations: 143.8 kB / 0.9557 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.008887, allocations: 192 / 0.9557 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.008903, allocations: 4.375 kB / 0.9557 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.008912, allocations: 8.125 kB / 0.9557 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.009132, allocations: 91.95 kB / 0.9558 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.009912, allocations: 0.5263 MB / 0.9563 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.01016, allocations: 90.55 kB / 0.9564 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.01026, allocations: 40.89 kB / 0.9564 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.01027, allocations: 0 / 0.9564 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.0103, allocations: 34.56 kB / 0.9564 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.0103, allocations: 0 / 0.9564 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003379/0.01064, allocations: 149.4 kB / 0.9566 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.01067, allocations: 55.39 kB / 0.9566 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.01106, allocations: 389.9 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.01107, allocations: 25.7 kB / 0.957 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.01124, allocations: 220.2 kB / 0.9572 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.01127, allocations: 35.73 kB / 0.9573 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.01132, allocations: 25.67 kB / 0.9573 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01145, allocations: 354.7 kB / 0.9576 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.01153, allocations: 27.98 kB / 0.9577 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.01162, allocations: 63.36 kB / 0.9577 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.01178, allocations: 91.67 kB / 0.9578 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.01179, allocations: 4 kB / 0.9578 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002399/0.01203, allocations: 141.4 kB / 0.958 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.01204, allocations: 4 kB / 0.958 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01205, allocations: 8.094 kB / 0.958 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01206, allocations: 3.938 kB / 0.958 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01217, allocations: 23.98 kB / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.01218, allocations: 0 / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.01226, allocations: 15.92 kB / 0.958 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01227, allocations: 7.984 kB / 0.958 GB, free: 11.53 MB / 0.9167 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.0001522/0.01243, allocations: 169.7 kB / 0.9582 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.01247, allocations: 35.77 kB / 0.9582 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.01253, allocations: 35.28 kB / 0.9582 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01254, allocations: 4 kB / 0.9582 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01254, allocations: 4 kB / 0.9583 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01255, allocations: 3.984 kB / 0.9583 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.01286, allocations: 268.5 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01286, allocations: 0 / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.01299, allocations: 16 kB / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01299, allocations: 0 / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.013, allocations: 7.984 kB / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.013, allocations: 0 / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.013, allocations: 0 / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.01334, allocations: 255.2 kB / 0.9588 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.01341, allocations: 43.95 kB / 0.9588 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.01343, allocations: 4 kB / 0.9588 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.01353, allocations: 7.938 kB / 0.9588 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.01357, allocations: 3.984 kB / 0.9588 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.01358, allocations: 7.938 kB / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002772/0.01385, allocations: 279.1 kB / 0.9591 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01385, allocations: 0 / 0.9591 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00032/0.01417, allocations: 43.89 kB / 0.9591 GB, free: 10.3 MB / 0.9167 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.0005698/0.01474, allocations: 0.7981 MB / 0.9599 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.01494, allocations: 67.91 kB / 0.96 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01494, allocations: 0 / 0.96 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.01501, allocations: 35.92 kB / 0.96 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.01538, allocations: 25.66 kB / 0.9601 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.0183, allocations: 2.672 MB / 0.9627 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.01848, allocations: 195 kB / 0.9628 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.421e-05/0.01854, allocations: 16.58 kB / 0.9629 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.01867, allocations: 104.5 kB / 0.963 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/0.01867, allocations: 0 / 0.963 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.04858, allocations: 5.626 MB / 0.9685 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.08/7.128, allocations: 0 / 0.9685 GB, free: 0.7969 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.155756843276322]