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.001317/0.001317, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001467/0.001467, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.98 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.311/3.311, allocations: 0.49 GB / 0.7951 GB, free: 33.51 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.002435/0.002435, allocations: 66.56 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3706, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004029/0.3747, allocations: 2.514 MB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3757, allocations: 0.5392 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.3759, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.3763, allocations: 131.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.3765, allocations: 95.27 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.3766, allocations: 39.95 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.3769, allocations: 254.6 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.3772, allocations: 76.14 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3773, allocations: 83.67 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3775, allocations: 99.48 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.3775, allocations: 24 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.929e-05/0.3776, allocations: 20 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3777, allocations: 83.62 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.3778, allocations: 155 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.3783, allocations: 338.4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3783, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3783, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3783, allocations: 0 / 1.33 GB, free: 13.5 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.0009057/0.3792, allocations: 0.5856 MB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3792, allocations: 11.97 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.3793, allocations: 50.73 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.3794, allocations: 44.66 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.3797, allocations: 244.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3798, allocations: 12.36 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.3798, allocations: 20.31 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.3801, allocations: 146.3 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3801, allocations: 3.938 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3801, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3801, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.3804, allocations: 91.95 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.3812, allocations: 0.5614 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3815, allocations: 78.56 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3816, allocations: 48.88 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3816, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3817, allocations: 34.56 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.3817, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003708/0.382, allocations: 149.4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3821, allocations: 51.78 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.3825, allocations: 386 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.3825, allocations: 33.7 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.3827, allocations: 220.1 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.3827, allocations: 35.64 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.3828, allocations: 29.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3829, allocations: 354.7 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.383, allocations: 27.98 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3831, allocations: 55.36 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3833, allocations: 95.36 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3833, allocations: 0 / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002752/0.3836, allocations: 149.3 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3836, allocations: 9.875 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3836, allocations: 0 / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3836, allocations: 4 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.3838, allocations: 23.98 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3838, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.3838, allocations: 16.05 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3839, allocations: 7.938 kB / 1.334 GB, free: 9.734 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.0001682/0.384, allocations: 165.7 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.3841, allocations: 35.77 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.3842, allocations: 43.16 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3842, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3842, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3842, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.3845, allocations: 284.5 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3845, allocations: 4 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.3846, allocations: 19.98 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3846, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3847, allocations: 4 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3847, allocations: 96 / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3847, allocations: 3.938 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.3851, allocations: 259.2 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.3851, allocations: 31.86 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.3852, allocations: 7.984 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3853, allocations: 8 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3853, allocations: 3.984 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3853, allocations: 7.938 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002941/0.3856, allocations: 279.1 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3856, allocations: 4 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002949/0.3859, allocations: 43.89 kB / 1.335 GB, free: 8.488 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.00073/0.3866, allocations: 0.7903 MB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3869, allocations: 67.92 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3869, allocations: 0 / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.3869, allocations: 36.3 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3874, allocations: 35.33 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.391, allocations: 2.718 MB / 1.338 GB, free: 4.723 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.3914, allocations: 0.8019 MB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.521e-05/0.3915, allocations: 12.64 kB / 1.339 GB, free: 3.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.3916, allocations: 107.4 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of SimCode: time 1.403e-06/0.3916, allocations: 0 / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.4277, allocations: 5.109 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.9, allocations: 9.984 kB / 1.344 GB, free: 14.83 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.848243039999943]