Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_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.00844/0.00844, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.002116/0.002116, allocations: 190.6 kB / 16.67 MB, free: 5.973 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7195/0.7214, allocations: 159.1 MB / 1.22 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002822/0.7243, allocations: 1.749 MB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000175/0.7245, allocations: 75.69 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.7246, allocations: 8 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.7246, allocations: 11.86 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.7247, allocations: 15.8 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.867e-05/0.7248, allocations: 35.95 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.725, allocations: 107.7 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.7251, allocations: 49.11 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.7252, allocations: 43.84 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.7253, allocations: 51.81 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.7253, allocations: 8 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.7253, allocations: 12 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.7254, allocations: 27.86 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.7254, allocations: 51.73 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.7256, allocations: 119.1 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.7256, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7256, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7256, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 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.0007027/0.7263, allocations: 434.9 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7264, allocations: 12.03 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.7264, allocations: 46.73 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.7265, allocations: 12.84 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.7267, allocations: 192.2 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.7267, allocations: 12.36 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.7268, allocations: 12.31 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.7271, allocations: 122.2 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7272, allocations: 7.938 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7272, allocations: 7.938 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.7272, allocations: 4 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.7277, allocations: 118.3 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.7282, allocations: 384.5 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.7286, allocations: 90.45 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.7289, allocations: 64.92 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.7289, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.7289, allocations: 30.56 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.7289, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0008427/0.7298, allocations: 197.6 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.7298, allocations: 55.41 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.7299, allocations: 129.2 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.73, allocations: 25.7 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.73, allocations: 108 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.7301, allocations: 27.77 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.7301, allocations: 21.72 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7303, allocations: 322.8 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.7305, allocations: 47.95 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.7307, allocations: 51.94 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.7312, allocations: 104.8 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7312, allocations: 4 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004743/0.7317, allocations: 145.5 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7317, allocations: 4 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.7317, allocations: 0 / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.7317, allocations: 7.922 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.7319, allocations: 31.91 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7319, allocations: 0 / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.732, allocations: 12.42 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.732, allocations: 8 kB / 1.225 GB, free: 12.76 MB / 0.9512 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.835e-05/0.7321, allocations: 121.8 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.7322, allocations: 7.953 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.7322, allocations: 12.31 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7322, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7322, allocations: 4 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.7322, allocations: 0 / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.7324, allocations: 205.6 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7324, allocations: 0 / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.7326, allocations: 27.97 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7326, allocations: 0 / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.7326, allocations: 3.938 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7326, allocations: 4 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7326, allocations: 0 / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.7332, allocations: 247.3 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.7332, allocations: 81.11 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.7332, allocations: 7.938 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7334, allocations: 15.97 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.7334, allocations: 11.98 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.7335, allocations: 0 / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.7335, allocations: 103.2 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7335, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002268/0.7338, allocations: 19.95 kB / 1.226 GB, free: 11.8 MB / 0.9512 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.0008706/0.7346, allocations: 0.7753 MB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.7351, allocations: 111.8 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7352, allocations: 4 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.7354, allocations: 63.88 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.7357, allocations: 12.36 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.7381, allocations: 1.596 MB / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.7385, allocations: 0.6963 MB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.7385, allocations: 11.97 kB / 1.229 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.7386, allocations: 23.44 kB / 1.229 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.7386, allocations: 4 kB / 1.229 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.7613, allocations: 2.246 MB / 1.231 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.704, allocations: 15.97 kB / 1.231 GB, free: 6.246 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches