Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001292/0.001292, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001469/0.001469, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.274/3.274, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_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.002167/0.002167, allocations: 72.11 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003837/0.3563, allocations: 2.179 MB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3579, allocations: 0.8629 MB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.358, allocations: 4 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.3586, allocations: 187.1 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.3588, allocations: 71.44 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3591, allocations: 107.7 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.3595, allocations: 219.1 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.3596, allocations: 76.25 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3598, allocations: 91.52 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3599, allocations: 91.44 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.3599, allocations: 16 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.3603, allocations: 147.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.3605, allocations: 207.4 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.3607, allocations: 194.5 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.3615, allocations: 0.7309 MB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3615, allocations: 0 / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3615, allocations: 0 / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.3615, allocations: 0 / 1.368 GB, free: 8.914 MB / 1.061 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.001492/0.363, allocations: 0.9187 MB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.363, allocations: 12.03 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.3631, allocations: 50.67 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.3637, allocations: 120.3 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.3645, allocations: 0.5494 MB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3646, allocations: 8.375 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3646, allocations: 16.36 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.365, allocations: 190.7 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3651, allocations: 3.938 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3651, allocations: 4 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3651, allocations: 4 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.3656, allocations: 231.9 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.3669, allocations: 0.8194 MB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.3676, allocations: 310.5 kB / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.3678, allocations: 108.9 kB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007349/0.3685, allocations: 167.8 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3686, allocations: 34.5 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3686, allocations: 0 / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0008912/0.3694, allocations: 397 kB / 1.372 GB, free: 4.852 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3695, allocations: 63.39 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.3709, allocations: 0.9973 MB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.3709, allocations: 29.7 kB / 1.373 GB, free: 3.738 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.3713, allocations: 336.2 kB / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3713, allocations: 31.73 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.3714, allocations: 25.72 kB / 1.374 GB, free: 3.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3715, allocations: 314 kB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.3718, allocations: 95.95 kB / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.372, allocations: 122.5 kB / 1.374 GB, free: 2.805 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.3725, allocations: 222.8 kB / 1.374 GB, free: 2.578 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3725, allocations: 7.938 kB / 1.374 GB, free: 2.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006164/0.3731, allocations: 324.9 kB / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3731, allocations: 8 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3731, allocations: 0 / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3731, allocations: 0 / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3733, allocations: 28.05 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3733, allocations: 3.984 kB / 1.375 GB, free: 2.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.3735, allocations: 19.89 kB / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3735, allocations: 0 / 1.375 GB, free: 2.188 MB / 1.061 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.0002908/0.3738, allocations: 250.8 kB / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3739, allocations: 79.42 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.3745, allocations: 324.5 kB / 1.375 GB, free: 1.531 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3745, allocations: 7.984 kB / 1.375 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3745, allocations: 0 / 1.375 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3745, allocations: 0 / 1.375 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.3751, allocations: 464.3 kB / 1.376 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3751, allocations: 0 / 1.376 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.3753, allocations: 19.98 kB / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3753, allocations: 0 / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.3753, allocations: 8 kB / 1.376 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3753, allocations: 0 / 1.376 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3753, allocations: 4 kB / 1.376 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.376, allocations: 407 kB / 1.376 GB, free: 0.582 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.3762, allocations: 115.4 kB / 1.376 GB, free: 480 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.3763, allocations: 96 / 1.376 GB, free: 480 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3765, allocations: 11.92 kB / 1.376 GB, free: 468 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.3765, allocations: 8 kB / 1.376 GB, free: 460 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3765, allocations: 7.984 kB / 1.376 GB, free: 452 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001035/0.3776, allocations: 0.7176 MB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3776, allocations: 3.938 kB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003666/0.3779, allocations: 63.89 kB / 1.377 GB, free: 15.66 MB / 1.076 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.001059/0.379, allocations: 0.954 MB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.3795, allocations: 211.8 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3795, allocations: 0 / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.3797, allocations: 112 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.3801, allocations: 55.3 kB / 1.378 GB, free: 14.31 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009057/0.3892, allocations: 6.389 MB / 1.385 GB, free: 7.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3896, allocations: 345.4 kB / 1.385 GB, free: 7.461 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.3899, allocations: 77.33 kB / 1.385 GB, free: 7.383 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.3902, allocations: 219.4 kB / 1.385 GB, free: 7.168 MB / 1.076 GB Notification: Performance of SimCode: time 8.22e-07/0.3902, allocations: 0 / 1.385 GB, free: 7.168 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/0.4385, allocations: 12.54 MB / 1.398 GB, free: 10.79 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.3, allocations: 2.969 kB / 1.398 GB, free: 10.79 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv --start-time 0 --stop-time 1500 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.PEle from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mWat_flow in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mWat_flow from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.TWatIn in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.TWatIn from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! Error: Could not read variable opeModBas.mFue_flow in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv. Warning: Get data of variable opeModBas.mFue_flow from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.157662966754287]