Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.UACp,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",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.0007462/0.0007462, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004348/0.004348, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.319/2.319, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 8.281 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5345, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00175/0.5363, allocations: 1.409 MB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1375/0.6738, allocations: 144.6 MB / 1.166 GB, free: 13.4 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.6739, allocations: 0 / 1.166 GB, free: 13.4 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.6741, allocations: 47.72 kB / 1.166 GB, free: 13.35 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.6751, allocations: 394.4 kB / 1.166 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.6753, allocations: 51.94 kB / 1.166 GB, free: 12.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.6754, allocations: 139.3 kB / 1.166 GB, free: 12.78 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.6755, allocations: 13.39 kB / 1.166 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.6756, allocations: 47.8 kB / 1.166 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.6757, allocations: 67.73 kB / 1.166 GB, free: 12.65 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.6757, allocations: 8 kB / 1.166 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.6767, allocations: 0.5729 MB / 1.167 GB, free: 12.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.6767, allocations: 15.92 kB / 1.167 GB, free: 12.05 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.6768, allocations: 81.42 kB / 1.167 GB, free: 11.96 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.6773, allocations: 387 kB / 1.167 GB, free: 11.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6773, allocations: 4 kB / 1.167 GB, free: 11.58 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6773, allocations: 0 / 1.167 GB, free: 11.58 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.6773, allocations: 3.938 kB / 1.167 GB, free: 11.58 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006039/0.678, allocations: 462.9 kB / 1.168 GB, free: 11.08 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.678, allocations: 8.031 kB / 1.168 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.6781, allocations: 106 kB / 1.168 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.6792, allocations: 183.9 kB / 1.168 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.6795, allocations: 315.9 kB / 1.169 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.6796, allocations: 154.6 kB / 1.169 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.6796, allocations: 162.5 kB / 1.169 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.748e-05/0.6797, allocations: 101 kB / 1.169 GB, free: 10.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.6797, allocations: 75.28 kB / 1.169 GB, free: 9.938 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.6798, allocations: 154.5 kB / 1.169 GB, free: 9.785 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.6798, allocations: 150.6 kB / 1.169 GB, free: 9.637 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.874e-05/0.6799, allocations: 162.5 kB / 1.169 GB, free: 9.477 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.6802, allocations: 0.5134 MB / 1.17 GB, free: 8.914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.6803, allocations: 165.1 kB / 1.17 GB, free: 8.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.6803, allocations: 80.14 kB / 1.17 GB, free: 8.66 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.6804, allocations: 79.28 kB / 1.17 GB, free: 8.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.6804, allocations: 113.8 kB / 1.17 GB, free: 8.461 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.6804, allocations: 0 / 1.17 GB, free: 8.461 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0002779/0.6807, allocations: 61.44 kB / 1.17 GB, free: 8.395 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.6808, allocations: 130.7 kB / 1.171 GB, free: 8.254 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.6811, allocations: 223.1 kB / 1.171 GB, free: 8.027 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.6811, allocations: 25.7 kB / 1.171 GB, free: 7.996 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.6811, allocations: 100.1 kB / 1.171 GB, free: 7.895 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.6812, allocations: 0 / 1.171 GB, free: 7.895 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.6812, allocations: 21.7 kB / 1.171 GB, free: 7.867 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6813, allocations: 326.8 kB / 1.171 GB, free: 7.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.6813, allocations: 12 kB / 1.171 GB, free: 7.527 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.6814, allocations: 19.98 kB / 1.171 GB, free: 7.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.6815, allocations: 28.86 kB / 1.171 GB, free: 7.477 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6815, allocations: 0 / 1.171 GB, free: 7.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005683/0.682, allocations: 134.3 kB / 1.171 GB, free: 7.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.6821, allocations: 97.19 kB / 1.171 GB, free: 7.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6821, allocations: 0 / 1.171 GB, free: 7.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007528/0.6829, allocations: 156.6 kB / 1.172 GB, free: 7.078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.6829, allocations: 8 kB / 1.172 GB, free: 7.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.6847, allocations: 1.505 MB / 1.173 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.6849, allocations: 12 kB / 1.173 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.6849, allocations: 0 / 1.173 GB, free: 5.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.6849, allocations: 4 kB / 1.173 GB, free: 5.418 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001871/0.6851, allocations: 76.69 kB / 1.173 GB, free: 5.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.6851, allocations: 3.938 kB / 1.173 GB, free: 5.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/0.6855, allocations: 112.7 kB / 1.173 GB, free: 5.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.835e-05/0.6855, allocations: 8 kB / 1.173 GB, free: 5.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.6865, allocations: 1.359 MB / 1.175 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.6867, allocations: 7.938 kB / 1.175 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.6867, allocations: 4.062 kB / 1.175 GB, free: 3.715 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.6868, allocations: 268.9 kB / 1.175 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.6869, allocations: 116.9 kB / 1.175 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.6869, allocations: 117.5 kB / 1.175 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/0.687, allocations: 180.3 kB / 1.175 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.625e-05/0.6871, allocations: 176.3 kB / 1.175 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-05/0.6871, allocations: 192.1 kB / 1.176 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.6874, allocations: 445.1 kB / 1.176 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-05/0.6874, allocations: 112.9 kB / 1.176 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.6875, allocations: 101 kB / 1.176 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.785e-05/0.6875, allocations: 176.3 kB / 1.176 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.6876, allocations: 188.2 kB / 1.177 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.508e-05/0.6876, allocations: 180.2 kB / 1.177 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.562e-05/0.6877, allocations: 180.2 kB / 1.177 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.6878, allocations: 315.7 kB / 1.177 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/0.6879, allocations: 205.8 kB / 1.177 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.688, allocations: 180.3 kB / 1.178 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.6882, allocations: 108.9 kB / 1.178 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.6882, allocations: 180.6 kB / 1.178 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.6883, allocations: 105 kB / 1.178 GB, free: 40 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001914/0.6885, allocations: 169.1 kB / 1.178 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6885, allocations: 0 / 1.178 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003848/0.6889, allocations: 68 kB / 1.178 GB, free: 15.8 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 (0): * Single equations (assignments): 0 * 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.0004726/0.6894, allocations: 0.8515 MB / 1.179 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.6898, allocations: 309.2 kB / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6899, allocations: 0 / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.6899, allocations: 0 / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.6903, allocations: 0.5419 MB / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.693, allocations: 2.107 MB / 1.182 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.6933, allocations: 0.6967 MB / 1.183 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.664e-05/0.6934, allocations: 16.55 kB / 1.183 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.6935, allocations: 27.42 kB / 1.183 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.6935, allocations: 0 / 1.183 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.243/1.937, allocations: 4.366 MB / 1.187 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003033/1.937, allocations: 244.7 kB / 1.187 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/3.986, allocations: 0 / 1.187 GB, free: 6.684 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches