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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.006863/0.006863, allocations: 95.92 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.783/2.783, allocations: 469.4 MB / 0.7421 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 60.12 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002776/0.2643, allocations: 1.761 MB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.2645, allocations: 83.67 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.2646, allocations: 4 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.2646, allocations: 7.875 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.2647, allocations: 19.78 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.348e-05/0.2648, allocations: 31.97 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.265, allocations: 107.7 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.2651, allocations: 45.11 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.2652, allocations: 47.83 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.2653, allocations: 51.77 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.2653, allocations: 8 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.2653, allocations: 12 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.2653, allocations: 27.92 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.2654, allocations: 51.72 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.2655, allocations: 115.4 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2656, allocations: 0 / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2656, allocations: 0 / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2656, allocations: 0 / 1.222 GB, free: 12.26 MB / 0.9825 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.0006491/0.2662, allocations: 434.9 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2663, allocations: 16.02 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.2663, allocations: 42.75 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.2664, allocations: 12.84 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.2666, allocations: 196.2 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2666, allocations: 8.375 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2666, allocations: 8.375 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.267, allocations: 130.1 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.267, allocations: 3.938 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.267, allocations: 4 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.267, allocations: 4 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.2675, allocations: 115.9 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.268, allocations: 388.5 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.2684, allocations: 94.44 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.2686, allocations: 60.94 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.2686, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.2687, allocations: 34.55 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2687, allocations: 0 / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007725/0.2694, allocations: 201.6 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.2695, allocations: 51.41 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.2696, allocations: 125.8 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2696, allocations: 29.64 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.2697, allocations: 104 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2697, allocations: 27.78 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.2698, allocations: 21.66 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2699, allocations: 322.8 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.2701, allocations: 43.95 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.2703, allocations: 55.94 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.2708, allocations: 108.7 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2708, allocations: 0 / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004865/0.2713, allocations: 149.5 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2713, allocations: 4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2713, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2713, allocations: 3.938 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.2715, allocations: 31.91 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2715, allocations: 0 / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.2716, allocations: 19.97 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.2716, allocations: 4 kB / 1.225 GB, free: 9.227 MB / 0.9825 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 8.584e-05/0.2717, allocations: 118.4 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.2718, allocations: 7.953 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.2718, allocations: 12.31 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2718, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2718, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2718, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.272, allocations: 205.6 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.272, allocations: 4 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.2722, allocations: 24.41 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2722, allocations: 0 / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2722, allocations: 7.938 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2722, allocations: 4 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2722, allocations: 4 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.2728, allocations: 239.3 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.2728, allocations: 81.11 kB / 1.225 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.2729, allocations: 7.938 kB / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.273, allocations: 15.97 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.2731, allocations: 11.98 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.2731, allocations: 4 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.359e-05/0.2731, allocations: 102.3 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2732, allocations: 0 / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000246/0.2734, allocations: 23.95 kB / 1.226 GB, free: 8.273 MB / 0.9825 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.0009257/0.2743, allocations: 0.7709 MB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005215/0.2749, allocations: 123.8 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2749, allocations: 0 / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.2751, allocations: 59.89 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.2755, allocations: 17.98 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.2779, allocations: 1.591 MB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.2781, allocations: 0.7002 MB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.392e-05/0.2782, allocations: 3.984 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.2783, allocations: 31.42 kB / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.2783, allocations: 0 / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.296, allocations: 2.265 MB / 1.231 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.71, allocations: 6.219 kB / 1.231 GB, free: 2.73 MB / 0.9825 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