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.007417/0.007417, allocations: 97.03 kB / 15.73 MB, free: 6.484 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.001901/0.001901, allocations: 191.6 kB / 16.67 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.504/2.504, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2441, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002854/0.247, allocations: 1.755 MB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.2472, allocations: 79.69 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.2473, allocations: 0 / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.2474, allocations: 11.86 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.2475, allocations: 23.8 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.2476, allocations: 31.95 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.2477, allocations: 103.7 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2479, allocations: 53.38 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.248, allocations: 39.84 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.248, allocations: 51.77 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.2481, allocations: 12 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.2481, allocations: 12 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.2481, allocations: 23.91 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.2482, allocations: 47.73 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.2483, allocations: 119.5 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2483, allocations: 0 / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2483, allocations: 4 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2483, allocations: 0 / 1.168 GB, free: 4.91 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.0006181/0.249, allocations: 430.9 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.249, allocations: 12.03 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.2491, allocations: 34.75 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.2491, allocations: 16.89 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.2493, allocations: 200.1 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2493, allocations: 12.36 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.2493, allocations: 8.375 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.2497, allocations: 124.7 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2497, allocations: 11.88 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2497, allocations: 7.938 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2497, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.2502, allocations: 123.9 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.2506, allocations: 376.5 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.251, allocations: 98.45 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.2512, allocations: 56.92 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.2512, allocations: 4 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2513, allocations: 34.56 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.2513, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0007373/0.252, allocations: 197.6 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.252, allocations: 51.41 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.2521, allocations: 125.8 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2522, allocations: 29.7 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.2522, allocations: 108 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.2522, allocations: 19.8 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.2523, allocations: 25.64 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.2524, allocations: 314.8 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.2526, allocations: 55.94 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2528, allocations: 47.94 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.2532, allocations: 104.8 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2532, allocations: 3.984 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004564/0.2537, allocations: 141.5 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2537, allocations: 8 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2537, allocations: 4 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2538, allocations: 3.938 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2539, allocations: 27.91 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2539, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.2541, allocations: 19.97 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.2541, allocations: 0 / 1.171 GB, free: 1.895 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 7.731e-05/0.2541, allocations: 120.7 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.2542, allocations: 11.95 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.2542, allocations: 20.3 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2542, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2542, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2542, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.2544, allocations: 201.5 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2544, allocations: 3.938 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.2546, allocations: 28.41 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2546, allocations: 4 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2546, allocations: 7.922 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2546, allocations: 4 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2546, allocations: 3.938 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.2551, allocations: 239.4 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.2552, allocations: 85.05 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2552, allocations: 3.938 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2554, allocations: 23.97 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.2554, allocations: 7.984 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2554, allocations: 4 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.2555, allocations: 97.66 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2555, allocations: 0 / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002366/0.2557, allocations: 23.95 kB / 1.172 GB, free: 0.9336 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.0007651/0.2565, allocations: 0.7748 MB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.257, allocations: 115.8 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.257, allocations: 0 / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.2573, allocations: 63.88 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2576, allocations: 12 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.2598, allocations: 1.596 MB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2601, allocations: 0.7041 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.2601, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.2602, allocations: 31.42 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.2602, allocations: 0 / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.2774, allocations: 2.247 MB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.541, allocations: 15.19 kB / 1.177 GB, free: 11.37 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