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.004415/0.004415, allocations: 97.39 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.001384/0.001383, allocations: 192.1 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.299/1.299, 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 11.1.0-maint.11.x/package.mo): time 2.515/2.515, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2495, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002478/0.252, allocations: 1.757 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.2522, allocations: 79.67 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.2522, allocations: 4 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.2522, allocations: 11.86 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.2523, allocations: 15.8 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.567e-05/0.2524, allocations: 31.95 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2525, allocations: 107.7 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2527, allocations: 49.09 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.2527, allocations: 47.84 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.2528, allocations: 51.77 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2528, allocations: 8 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.2528, allocations: 12 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.2529, allocations: 23.92 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.2529, allocations: 47.72 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.2531, allocations: 119.4 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2531, allocations: 3.938 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2531, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.2531, allocations: 0 / 1.222 GB, free: 11.89 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.0005896/0.2537, allocations: 434.9 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2537, allocations: 12.03 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.2538, allocations: 38.73 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.2538, allocations: 16.84 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.254, allocations: 200.2 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.254, allocations: 8.312 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.254, allocations: 12.38 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.2544, allocations: 126.2 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.2544, allocations: 3.938 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2544, allocations: 4 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2544, allocations: 4 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.2549, allocations: 119.9 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.2553, allocations: 380.5 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.2556, allocations: 94.45 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.2558, allocations: 60.92 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.2559, allocations: 3.984 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2559, allocations: 30.56 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2559, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006949/0.2566, allocations: 201.6 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.2566, allocations: 51.41 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.2567, allocations: 129.8 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2568, allocations: 33.64 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.2568, allocations: 104 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.2568, allocations: 23.78 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.2569, allocations: 17.72 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.257, allocations: 318.8 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.2572, allocations: 51.94 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2574, allocations: 47.94 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.2578, allocations: 104.8 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2578, allocations: 7.938 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004295/0.2582, allocations: 137.5 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.2583, allocations: 8 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.2583, allocations: 0 / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.2583, allocations: 3.938 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.2584, allocations: 35.91 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.2584, allocations: 4 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2585, allocations: 15.97 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2586, allocations: 4 kB / 1.225 GB, free: 8.867 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 7.958e-05/0.2586, allocations: 113.8 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.2587, allocations: 7.891 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.2587, allocations: 24.3 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2587, allocations: 4 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2587, allocations: 0 / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2587, allocations: 0 / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.2589, allocations: 205.5 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2589, allocations: 4.438 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2591, allocations: 23.97 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2591, allocations: 0 / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2591, allocations: 7.938 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2591, allocations: 0 / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2591, allocations: 8 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.2596, allocations: 239.3 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.2596, allocations: 77.11 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2597, allocations: 11.94 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2598, allocations: 19.97 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.2598, allocations: 4 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2598, allocations: 0 / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.2599, allocations: 106.2 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2599, allocations: 0 / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002114/0.2601, allocations: 23.94 kB / 1.226 GB, free: 7.906 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.0007396/0.2609, allocations: 0.7753 MB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.2613, allocations: 115.8 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2613, allocations: 0 / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.2615, allocations: 63.88 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2618, allocations: 13.72 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.2639, allocations: 1.597 MB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.2642, allocations: 0.6963 MB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.2642, allocations: 7.984 kB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.2643, allocations: 27.44 kB / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2643, allocations: 0 / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.312/4.576, allocations: 2.252 MB / 1.231 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/21.13, allocations: 14 kB / 1.231 GB, free: 2.344 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 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.mat","/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