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.008653/0.008652, allocations: 102 kB / 15.73 MB, free: 6.035 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.001083/0.001084, allocations: 197.4 kB / 16.68 MB, free: 5.953 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 63.91 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7825, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002814/0.7854, allocations: 1.742 MB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001974/0.7856, allocations: 83.73 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.7857, allocations: 4 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.7857, allocations: 11.86 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.7858, allocations: 15.81 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.84e-05/0.7859, allocations: 35.89 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.7861, allocations: 115.6 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.7862, allocations: 51.34 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.7863, allocations: 47.84 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.7864, allocations: 47.77 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.7864, allocations: 12 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.7864, allocations: 12 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.7865, allocations: 23.92 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.7865, allocations: 47.73 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.7867, allocations: 111.6 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7867, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7867, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.7867, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 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.0006109/0.7873, allocations: 434.9 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.7874, allocations: 16.03 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.7874, allocations: 38.73 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.7875, allocations: 12.84 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.7877, allocations: 204 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.7877, allocations: 4.375 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.7877, allocations: 12.38 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.788, allocations: 123.4 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.788, allocations: 7.938 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7881, allocations: 3.938 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7881, allocations: 0 / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.7885, allocations: 123.9 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.7889, allocations: 376.4 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.7892, allocations: 86.52 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.7895, allocations: 64.92 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.7895, allocations: 0 / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.7895, allocations: 42.5 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.7895, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0006422/0.7902, allocations: 193.5 kB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.7902, allocations: 51.41 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.7903, allocations: 130.9 kB / 1.211 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.7903, allocations: 25.7 kB / 1.211 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.7904, allocations: 104 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.7904, allocations: 23.66 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.7905, allocations: 25.7 kB / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.7905, allocations: 314.8 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.7907, allocations: 47.94 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.7909, allocations: 51.94 kB / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.7912, allocations: 116.6 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7912, allocations: 0 / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003767/0.7916, allocations: 141.5 kB / 1.212 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7917, allocations: 8 kB / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7917, allocations: 0 / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.7917, allocations: 3.938 kB / 1.212 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.7918, allocations: 23.97 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7918, allocations: 0 / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/0.7919, allocations: 27.91 kB / 1.212 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.792, allocations: 4 kB / 1.212 GB, free: 8.156 MB / 0.9356 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.188e-05/0.792, allocations: 117.8 kB / 1.212 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.7921, allocations: 7.906 kB / 1.212 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.7921, allocations: 20.3 kB / 1.212 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7921, allocations: 0 / 1.212 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7921, allocations: 0 / 1.212 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.7921, allocations: 0 / 1.212 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.7923, allocations: 202 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.7923, allocations: 3.984 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.7925, allocations: 31.97 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.7925, allocations: 7.984 kB / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7925, allocations: 3.938 kB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7925, allocations: 0 / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7925, allocations: 0 / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.7929, allocations: 243.3 kB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.793, allocations: 85 kB / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.793, allocations: 7.938 kB / 1.213 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.7931, allocations: 15.97 kB / 1.213 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.7932, allocations: 8 kB / 1.213 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.7932, allocations: 0 / 1.213 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.855e-05/0.7933, allocations: 105.2 kB / 1.213 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7933, allocations: 0 / 1.213 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002226/0.7935, allocations: 19.94 kB / 1.213 GB, free: 7.199 MB / 0.9356 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.0006783/0.7942, allocations: 0.7709 MB / 1.214 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.7946, allocations: 115.8 kB / 1.214 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7946, allocations: 4 kB / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.7948, allocations: 55.94 kB / 1.214 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.7951, allocations: 15.94 kB / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.7971, allocations: 1.589 MB / 1.216 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.7973, allocations: 0.7002 MB / 1.216 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.7974, allocations: 4 kB / 1.216 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.7975, allocations: 38.11 kB / 1.216 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7975, allocations: 0 / 1.216 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.8151, allocations: 2.25 MB / 1.219 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.364/8.179, allocations: 16 kB / 1.219 GB, free: 1.668 MB / 0.9356 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