Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.00164/0.00164, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00213/0.00213, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.996 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.2/3.2, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.002131/0.002131, allocations: 71.58 kB / 1.153 GB, free: 25.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003775/0.3759, allocations: 2.186 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3774, allocations: 0.8738 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.3775, allocations: 8 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.3781, allocations: 167 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.3782, allocations: 71.44 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.3786, allocations: 119.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.3789, allocations: 227 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.3791, allocations: 61.97 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3792, allocations: 83.59 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3794, allocations: 99.36 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.3794, allocations: 16 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.3797, allocations: 139.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.3799, allocations: 219.3 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.3801, allocations: 186.6 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008335/0.381, allocations: 0.7386 MB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.381, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.381, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.381, allocations: 0 / 1.33 GB, free: 13.21 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001509/0.3825, allocations: 0.9265 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.3825, allocations: 19.95 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.3826, allocations: 46.69 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.3832, allocations: 124.3 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/0.3841, allocations: 0.53 MB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3841, allocations: 16.38 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3842, allocations: 12.38 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.3846, allocations: 198.1 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3846, allocations: 3.938 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3847, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3847, allocations: 8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.3852, allocations: 227.9 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.3865, allocations: 0.8117 MB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.3873, allocations: 314.4 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.3875, allocations: 104.9 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007741/0.3883, allocations: 159.8 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.3883, allocations: 38.56 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3883, allocations: 4 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0008864/0.3892, allocations: 401 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3893, allocations: 55.41 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.3906, allocations: 0.9935 MB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3906, allocations: 33.7 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.391, allocations: 344.1 kB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.391, allocations: 43.62 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.3911, allocations: 25.7 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3912, allocations: 314 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.3914, allocations: 91.95 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3917, allocations: 126.5 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.3921, allocations: 218.8 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3921, allocations: 0 / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006025/0.3927, allocations: 329 kB / 1.336 GB, free: 6.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3927, allocations: 4 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3927, allocations: 4 kB / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3928, allocations: 0 / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3929, allocations: 31.91 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3929, allocations: 4.062 kB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.3931, allocations: 4 kB / 1.336 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3931, allocations: 4 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0003042/0.3934, allocations: 250.3 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3935, allocations: 79.42 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.3942, allocations: 332.4 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3942, allocations: 0 / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3942, allocations: 0 / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3942, allocations: 7.938 kB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.3948, allocations: 464.3 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3948, allocations: 0 / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.3949, allocations: 19.98 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3949, allocations: 0 / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3949, allocations: 0 / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.395, allocations: 7.938 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.395, allocations: 4 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.3956, allocations: 411 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.3958, allocations: 107.4 kB / 1.338 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.3959, allocations: 7.938 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3961, allocations: 11.98 kB / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.3961, allocations: 3.984 kB / 1.338 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3961, allocations: 4 kB / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009616/0.3971, allocations: 0.7176 MB / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3971, allocations: 0 / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000382/0.3975, allocations: 67.94 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.001117/0.3986, allocations: 0.9578 MB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.3991, allocations: 215.8 kB / 1.34 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3991, allocations: 0 / 1.34 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.3993, allocations: 103.9 kB / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3998, allocations: 57.14 kB / 1.34 GB, free: 2.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008968/0.4088, allocations: 6.382 MB / 1.346 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.4092, allocations: 349.4 kB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.4094, allocations: 81.33 kB / 1.347 GB, free: 11.67 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.4097, allocations: 215.4 kB / 1.347 GB, free: 11.46 MB / 1.045 GB Notification: Performance of SimCode: time 1.062e-06/0.4097, allocations: 3.938 kB / 1.347 GB, free: 11.46 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04576/0.4555, allocations: 12.56 MB / 1.359 GB, free: 15.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.3, allocations: 1.625 kB / 1.359 GB, free: 15.06 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_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_EnergyConversionNormal.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable opeModBas.PEle in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.PEle from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mWat_flow in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mWat_flow from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.TWatIn in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.TWatIn from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mFue_flow in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mFue_flow from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.063290426973253]