Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001655/0.001655, 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.002011/0.002011, allocations: 210.4 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.213/3.213, allocations: 0.49 GB / 0.7916 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_12_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.002199/0.002199, allocations: 68.69 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004484/0.3723, allocations: 2.484 MB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3735, allocations: 0.5393 MB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3736, allocations: 0 / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.374, allocations: 127.5 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.3742, allocations: 95.27 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.3744, allocations: 43.97 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.3747, allocations: 246.7 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.3749, allocations: 75.06 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.375, allocations: 95.66 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.3752, allocations: 99.55 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.3752, allocations: 16 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.3752, allocations: 20 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3754, allocations: 79.64 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.3757, allocations: 155 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.3762, allocations: 342.4 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3762, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3762, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3763, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 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.001045/0.3773, allocations: 0.6609 MB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.3774, allocations: 15.98 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.3774, allocations: 50.73 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.636e-05/0.3775, allocations: 44.66 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.378, allocations: 302.5 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.378, allocations: 20.31 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.378, allocations: 20.36 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3783, allocations: 137.9 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3783, allocations: 3.938 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.3784, allocations: 8 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3784, allocations: 7.938 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3786, allocations: 87.95 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.3796, allocations: 0.5974 MB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.3799, allocations: 82.59 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.38, allocations: 44.91 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.38, allocations: 0 / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.38, allocations: 42.5 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.38, allocations: 0 / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004704/0.3805, allocations: 145.4 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3805, allocations: 51.41 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.381, allocations: 390 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.381, allocations: 25.7 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3812, allocations: 216.2 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.3812, allocations: 39.67 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.3813, allocations: 29.72 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003285/0.3816, allocations: 350.7 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.3817, allocations: 27.98 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3818, allocations: 51.42 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.382, allocations: 95.36 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.382, allocations: 0 / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000291/0.3823, allocations: 149.6 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3824, allocations: 8 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3824, allocations: 0 / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3824, allocations: 0 / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3825, allocations: 28.02 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3825, allocations: 8 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.998e-05/0.3826, allocations: 11.89 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3826, allocations: 7.938 kB / 1.329 GB, free: 10.9 MB / 1.029 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.000217/0.3828, allocations: 163.5 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.3829, allocations: 43.7 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/0.383, allocations: 39.22 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.383, allocations: 0 / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.383, allocations: 0 / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.383, allocations: 7.984 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.3834, allocations: 305.5 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3834, allocations: 0 / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.3835, allocations: 19.94 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3835, allocations: 0 / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3836, allocations: 0 / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3836, allocations: 4 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3836, allocations: 3.984 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.384, allocations: 255.2 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3841, allocations: 120.8 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3841, allocations: 0 / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.3842, allocations: 4 kB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3843, allocations: 7.984 kB / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3843, allocations: 8 kB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003264/0.3846, allocations: 283.1 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3846, allocations: 0 / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004313/0.3851, allocations: 43.89 kB / 1.33 GB, free: 9.531 MB / 1.029 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.0009147/0.386, allocations: 0.7983 MB / 1.331 GB, free: 8.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3862, allocations: 71.84 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3862, allocations: 256 / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.3863, allocations: 35.98 kB / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3867, allocations: 21.56 kB / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.3906, allocations: 2.72 MB / 1.334 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.3911, allocations: 0.8019 MB / 1.334 GB, free: 4.926 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.609e-05/0.3912, allocations: 9.125 kB / 1.334 GB, free: 4.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3914, allocations: 103.4 kB / 1.334 GB, free: 4.816 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/0.3914, allocations: 0 / 1.334 GB, free: 4.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/0.4377, allocations: 4.985 MB / 1.339 GB, free: 15.97 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.939/9.376, allocations: 3.938 kB / 1.339 GB, free: 15.97 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TRoo.T from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TWat.T in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TWat.T from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.QGen_flow in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.QGen_flow from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable per.capEng in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable per.capEng from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! Error: Could not read variable eng.TEng in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv. Warning: Get data of variable eng.TEng from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.224983706139028]