Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.001419/0.001419, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001651/0.001651, allocations: 219.8 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.781 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.179/3.179, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",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.002025/0.002025, allocations: 69.8 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3552, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.0032/0.3584, allocations: 1.739 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001904/0.3586, allocations: 83.67 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.3586, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.783e-05/0.3587, allocations: 11.86 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.3587, allocations: 15.81 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.3589, allocations: 35.95 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.359, allocations: 115.7 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3592, allocations: 41.22 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.3593, allocations: 43.86 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.3593, allocations: 47.77 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.3594, allocations: 12 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.3594, allocations: 12 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.3594, allocations: 19.92 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.3595, allocations: 39.8 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3596, allocations: 119.5 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3596, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3596, allocations: 4 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3597, allocations: 0 / 1.328 GB, free: 15.17 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006956/0.3603, allocations: 357.8 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3604, allocations: 8.031 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.3604, allocations: 42.73 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.3605, allocations: 8.891 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3607, allocations: 158.2 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3607, allocations: 12.38 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.3607, allocations: 8.375 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.3611, allocations: 123.8 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.3611, allocations: 3.938 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3611, allocations: 8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3612, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.3616, allocations: 123.9 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.3621, allocations: 323.7 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.3625, allocations: 90.45 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3627, allocations: 64.91 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.3627, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.3628, allocations: 34.56 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.3628, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007617/0.3635, allocations: 197.6 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3636, allocations: 55.34 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3637, allocations: 128.5 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.3637, allocations: 29.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.3638, allocations: 108 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.3638, allocations: 15.86 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.3639, allocations: 17.72 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.364, allocations: 318.8 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.3643, allocations: 55.94 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3645, allocations: 47.95 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.3649, allocations: 108.8 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3649, allocations: 0 / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004742/0.3654, allocations: 145.5 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3654, allocations: 11.94 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3654, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3654, allocations: 3.938 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3655, allocations: 23.97 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3656, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3657, allocations: 23.91 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3657, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 9.959e-05/0.3658, allocations: 118.4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3658, allocations: 11.95 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.3658, allocations: 16.31 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3658, allocations: 448 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3658, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3659, allocations: 3.984 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.3661, allocations: 164.7 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3661, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3662, allocations: 31.91 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3662, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3662, allocations: 3.938 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3662, allocations: 7.938 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3662, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.3667, allocations: 239.4 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.3668, allocations: 7.953 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3668, allocations: 3.938 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3669, allocations: 19.97 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.367, allocations: 11.98 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.367, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.367, allocations: 99.27 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.367, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002327/0.3673, allocations: 23.89 kB / 1.331 GB, free: 11.55 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 (6): * Single equations (assignments): 6 * 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.0008856/0.3682, allocations: 0.7709 MB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004853/0.3687, allocations: 115.8 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3687, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.3689, allocations: 63.88 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.3692, allocations: 9.562 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.3717, allocations: 1.592 MB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.93e-05/0.3718, allocations: 88.17 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.3718, allocations: 4 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.3719, allocations: 31.42 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3719, allocations: 0 / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03682/0.4087, allocations: 2.896 MB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.35, allocations: 4.859 kB / 1.337 GB, free: 5.996 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable pwr.QSen_flow in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv. Warning: Get data of variable pwr.QSen_flow from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.1692792949907]