Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 195.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.665/2.665, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 69.34 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2808, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003151/0.284, allocations: 1.758 MB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.2842, allocations: 79.75 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.2843, allocations: 0 / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.2844, allocations: 7.875 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.2845, allocations: 27.78 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.253e-05/0.2846, allocations: 27.97 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.2847, allocations: 103.7 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2849, allocations: 61.02 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.285, allocations: 43.84 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.285, allocations: 51.77 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.2851, allocations: 8 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.523e-05/0.2851, allocations: 12 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.2851, allocations: 23.92 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.2852, allocations: 43.73 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.2853, allocations: 115.9 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2854, allocations: 4 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2854, allocations: 0 / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2854, allocations: 0 / 1.066 GB, free: 12.1 MB / 0.8262 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.0006835/0.2861, allocations: 423.1 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2861, allocations: 12.03 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.2862, allocations: 42.67 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.2862, allocations: 20.84 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2864, allocations: 200 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2865, allocations: 8.375 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.2865, allocations: 8.375 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.2869, allocations: 122.2 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2869, allocations: 3.938 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2869, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2869, allocations: 11.94 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.2874, allocations: 121.4 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.2879, allocations: 380.5 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.2883, allocations: 90.45 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.2886, allocations: 68.92 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2886, allocations: 3.984 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2886, allocations: 30.56 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.2886, allocations: 4 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0008058/0.2894, allocations: 193.4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.2895, allocations: 59.34 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.2896, allocations: 123.2 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2896, allocations: 25.7 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.2897, allocations: 115.9 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.2897, allocations: 23.64 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.2898, allocations: 17.72 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2899, allocations: 318.8 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.2901, allocations: 47.94 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.2904, allocations: 55.94 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.2908, allocations: 104.8 kB / 1.068 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2908, allocations: 0 / 1.068 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000503/0.2914, allocations: 145.4 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2914, allocations: 4 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2914, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2914, allocations: 3.938 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2916, allocations: 28.41 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2916, allocations: 7.984 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2917, allocations: 15.98 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2917, allocations: 8 kB / 1.069 GB, free: 9.078 MB / 0.8262 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.104e-05/0.2918, allocations: 113.8 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.2919, allocations: 11.89 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.2919, allocations: 12.31 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2919, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2919, allocations: 4 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2919, allocations: 4 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.2922, allocations: 205.5 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2922, allocations: 0 / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2924, allocations: 27.91 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2924, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2924, allocations: 7.938 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2924, allocations: 3.938 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2924, allocations: 0 / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.293, allocations: 243.3 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.2931, allocations: 88.95 kB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2931, allocations: 3.938 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.2933, allocations: 19.97 kB / 1.069 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.2933, allocations: 8 kB / 1.069 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.2933, allocations: 4 kB / 1.069 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.2934, allocations: 102.2 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2934, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002475/0.2936, allocations: 12 kB / 1.07 GB, free: 8.129 MB / 0.8262 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.0008246/0.2945, allocations: 0.7714 MB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.295, allocations: 115.8 kB / 1.07 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.295, allocations: 0 / 1.07 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.2953, allocations: 67.88 kB / 1.07 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2956, allocations: 10.09 kB / 1.07 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.298, allocations: 1.594 MB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2983, allocations: 0.7002 MB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.2984, allocations: 4 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.2984, allocations: 31.42 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2984, allocations: 3.938 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.3186, allocations: 2.228 MB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.57, allocations: 5.438 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches