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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00177/0.00177, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002067/0.002067, allocations: 195 kB / 16.26 MB, free: 6.621 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.783/1.783, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.2 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3983, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003452/0.4018, allocations: 1.814 MB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.4021, allocations: 79.73 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.4022, allocations: 4 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.4022, allocations: 7.922 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.4023, allocations: 11.88 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.4024, allocations: 23.97 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.4026, allocations: 115.6 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.4028, allocations: 45.11 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.4029, allocations: 43.84 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.4029, allocations: 51.77 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.403, allocations: 12 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.403, allocations: 12 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.403, allocations: 19.92 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.4031, allocations: 59.66 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.4032, allocations: 111.9 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4033, allocations: 4 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4033, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4033, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 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.0006854/0.404, allocations: 427.1 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.404, allocations: 12.62 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.4041, allocations: 38.75 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.4041, allocations: 8.844 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.4044, allocations: 204.1 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4044, allocations: 8.359 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.4044, allocations: 8.375 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.4048, allocations: 127.5 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4048, allocations: 7.938 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4048, allocations: 4 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4048, allocations: 7.984 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.4053, allocations: 119.9 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.4059, allocations: 388.3 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.4062, allocations: 90.52 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.4065, allocations: 60.92 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4065, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4065, allocations: 34.56 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.4065, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0007363/0.4073, allocations: 201.3 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4073, allocations: 51.41 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4074, allocations: 129.8 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.4074, allocations: 25.7 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.4075, allocations: 111.8 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.4075, allocations: 23.66 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.4076, allocations: 17.72 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4077, allocations: 318.8 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.4079, allocations: 51.94 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.4081, allocations: 47.95 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.4085, allocations: 104.8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4085, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004543/0.409, allocations: 141.5 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.409, allocations: 8 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.409, allocations: 0 / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4091, allocations: 3.938 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.4092, allocations: 27.97 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4092, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.4094, allocations: 27.88 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4094, allocations: 7.922 kB / 1.057 GB, free: 3.18 MB / 0.8106 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 9.828e-05/0.4095, allocations: 115.4 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4095, allocations: 4.438 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.4095, allocations: 16.31 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4096, allocations: 4 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4096, allocations: 0 / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4096, allocations: 3.938 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.4098, allocations: 213.5 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4098, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.41, allocations: 31.91 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.41, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.41, allocations: 3.938 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.41, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.41, allocations: 4 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.4105, allocations: 239.3 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.4106, allocations: 81.05 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4106, allocations: 11.94 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4107, allocations: 15.97 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.4108, allocations: 11.98 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4108, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.4109, allocations: 101.7 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4109, allocations: 0 / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000239/0.4111, allocations: 19.91 kB / 1.058 GB, free: 2.23 MB / 0.8106 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.0008129/0.4119, allocations: 0.7709 MB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.4124, allocations: 123.8 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4124, allocations: 0 / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.4127, allocations: 59.95 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.413, allocations: 11.98 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.4154, allocations: 1.627 MB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.4157, allocations: 0.7001 MB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.22e-05/0.4158, allocations: 11.97 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.4158, allocations: 23.44 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.4158, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5429/0.9588, allocations: 1.988 MB / 1.064 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003604/0.9592, allocations: 218.5 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.875/4.834, allocations: 0 / 1.064 GB, free: 12.7 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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