Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_10_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.007217/0.007217, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001843/0.001843, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2645, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002728/0.2672, allocations: 1.757 MB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.2674, allocations: 83.69 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.2675, allocations: 0 / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.304e-05/0.2676, allocations: 11.86 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.2676, allocations: 19.8 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.624e-05/0.2677, allocations: 31.95 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.2679, allocations: 103.7 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.268, allocations: 57.36 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.2681, allocations: 35.86 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.2682, allocations: 55.7 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2682, allocations: 12 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.2682, allocations: 16 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.2683, allocations: 23.91 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.2683, allocations: 47.73 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.2685, allocations: 119.5 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2685, allocations: 0 / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2685, allocations: 0 / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2685, allocations: 0 / 1.168 GB, free: 4.879 MB / 0.92 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.0006583/0.2692, allocations: 434.9 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2692, allocations: 8.031 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2693, allocations: 38.75 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.2693, allocations: 12.89 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2695, allocations: 204.1 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2695, allocations: 8.375 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.2696, allocations: 4.375 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.2699, allocations: 134.1 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2699, allocations: 3.938 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.27, allocations: 4 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.27, allocations: 0 / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.2704, allocations: 123.9 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.2709, allocations: 380.5 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.2713, allocations: 94.45 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.2715, allocations: 64.92 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2716, allocations: 4 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2716, allocations: 30.56 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.2716, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0007847/0.2724, allocations: 197.6 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2724, allocations: 51.41 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.2725, allocations: 127.8 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2725, allocations: 25.7 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.2726, allocations: 108 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.2726, allocations: 27.8 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.2727, allocations: 17.72 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2728, allocations: 318.8 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.273, allocations: 47.94 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2732, allocations: 51.95 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.2737, allocations: 104.8 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2737, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004831/0.2742, allocations: 153.5 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2742, allocations: 6.344 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2742, allocations: 7.938 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2742, allocations: 3.938 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.2744, allocations: 23.97 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2744, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2745, allocations: 27.97 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2746, allocations: 0 / 1.171 GB, free: 1.855 MB / 0.92 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.627e-05/0.2746, allocations: 113.8 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.2747, allocations: 7.953 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.2747, allocations: 16.31 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2747, allocations: 3.984 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2747, allocations: 448 / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2747, allocations: 3.938 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.275, allocations: 209.5 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.275, allocations: 4 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.2751, allocations: 31.91 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2752, allocations: 0 / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2752, allocations: 3.938 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2752, allocations: 3.984 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2752, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.2757, allocations: 235.5 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.2758, allocations: 81.06 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.2758, allocations: 7.922 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.276, allocations: 15.98 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.276, allocations: 15.98 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.276, allocations: 0 / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.2761, allocations: 101.2 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2761, allocations: 0 / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002368/0.2764, allocations: 19.95 kB / 1.172 GB, free: 0.9062 MB / 0.92 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.0008028/0.2772, allocations: 0.7709 MB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.2777, allocations: 119.9 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2777, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.2779, allocations: 63.83 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2782, allocations: 10.58 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.2806, allocations: 1.612 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.2809, allocations: 0.7002 MB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.28e-05/0.2809, allocations: 0 / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.281, allocations: 31.42 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.281, allocations: 0 / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.2976, allocations: 2.257 MB / 1.177 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.374, allocations: 2.688 kB / 1.177 GB, free: 11.33 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches