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.001414/0.001414, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001628/0.001628, allocations: 210.4 kB / 22.24 MB, free: 5.102 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 / 256 MB, free: 7.812 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.36/3.36, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002157/0.002157, allocations: 63.81 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3292, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003895/0.3331, allocations: 2.37 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.3341, allocations: 0.5042 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.3342, allocations: 4 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.3346, allocations: 119.5 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.3347, allocations: 87.28 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.3349, allocations: 47.89 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.3352, allocations: 246.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.3354, allocations: 76.14 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3355, allocations: 83.72 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3356, allocations: 87.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.3357, allocations: 20 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.492e-05/0.3357, allocations: 16 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3358, allocations: 91.61 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.336, allocations: 115.2 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.3364, allocations: 346.4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3364, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3364, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3364, allocations: 4 kB / 1.329 GB, free: 14.15 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.0008889/0.3373, allocations: 0.5895 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3373, allocations: 8.031 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.3373, allocations: 46.75 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.3374, allocations: 48.64 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.3378, allocations: 252.7 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3378, allocations: 8.375 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.3378, allocations: 24.38 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.3381, allocations: 150.2 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3382, allocations: 3.938 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3382, allocations: 4 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3382, allocations: 7.938 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.3384, allocations: 87.95 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.3393, allocations: 0.5146 MB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.3395, allocations: 90.66 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3396, allocations: 44.78 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3396, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3397, allocations: 30.56 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.3397, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003677/0.34, allocations: 149.4 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3401, allocations: 51.41 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.3405, allocations: 393.9 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3405, allocations: 29.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3407, allocations: 224.2 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3407, allocations: 31.73 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.3408, allocations: 25.72 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3409, allocations: 346.7 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.341, allocations: 31.98 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3411, allocations: 53.92 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3413, allocations: 99.67 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3413, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002691/0.3416, allocations: 149.3 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3416, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3416, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3416, allocations: 4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3417, allocations: 27.92 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3418, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.427e-05/0.3418, allocations: 12.05 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3418, allocations: 11.94 kB / 1.333 GB, free: 10.42 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.0001916/0.342, allocations: 165.8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.3421, allocations: 35.77 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.3422, allocations: 35.22 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3422, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3422, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3422, allocations: 3.984 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.3426, allocations: 280.4 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3426, allocations: 0 / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3427, allocations: 24 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3427, allocations: 0 / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3427, allocations: 0 / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3427, allocations: 3.984 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3427, allocations: 3.984 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.3431, allocations: 259.4 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.3432, allocations: 39.78 kB / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3433, allocations: 3.938 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.3434, allocations: 0 / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.3434, allocations: 11.98 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3434, allocations: 8.062 kB / 1.333 GB, free: 9.492 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003185/0.3437, allocations: 279.1 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3437, allocations: 0 / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003065/0.344, allocations: 51.84 kB / 1.334 GB, free: 9.172 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.0007627/0.3448, allocations: 0.7903 MB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.3451, allocations: 71.91 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3451, allocations: 256 / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.3452, allocations: 39.92 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3456, allocations: 19.38 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.3492, allocations: 2.714 MB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3494, allocations: 194.8 kB / 1.337 GB, free: 5.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.703e-05/0.3495, allocations: 12.64 kB / 1.337 GB, free: 5.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.3496, allocations: 107.3 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3496, allocations: 0 / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.3846, allocations: 5.479 MB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 6.297 kB / 1.343 GB, free: 15.77 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.886529558803886]