Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001376/0.001376, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 193.6 kB / 16.53 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.594, allocations: 140.4 MB / 0.9497 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002949/0.597, allocations: 2.141 MB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.5984, allocations: 1.032 MB / 0.9528 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.5985, allocations: 10.59 kB / 0.9528 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.5986, allocations: 28.91 kB / 0.9529 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.5988, allocations: 77.3 kB / 0.9529 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.5992, allocations: 201.2 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.5994, allocations: 288.1 kB / 0.9534 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.5996, allocations: 60.64 kB / 0.9535 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.5997, allocations: 112.1 kB / 0.9536 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.5999, allocations: 143.3 kB / 0.9537 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.5999, allocations: 17.69 kB / 0.9537 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.6003, allocations: 298.9 kB / 0.954 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.6003, allocations: 54.08 kB / 0.9541 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.375e-05/0.6004, allocations: 113 kB / 0.9542 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.6007, allocations: 330.1 kB / 0.9545 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6007, allocations: 0 / 0.9545 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6007, allocations: 0 / 0.9545 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.6007, allocations: 0 / 0.9545 GB, free: 5.633 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008912/0.6016, allocations: 0.6283 MB / 0.9551 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.6017, allocations: 13.06 kB / 0.9551 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.6017, allocations: 50.8 kB / 0.9552 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.6019, allocations: 41.05 kB / 0.9552 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.6022, allocations: 273.2 kB / 0.9555 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.6022, allocations: 10.72 kB / 0.9555 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.6022, allocations: 17.5 kB / 0.9555 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.6027, allocations: 228.4 kB / 0.9557 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.6027, allocations: 0 / 0.9557 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.6027, allocations: 10.42 kB / 0.9557 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.6027, allocations: 3.656 kB / 0.9557 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.6034, allocations: 199 kB / 0.9559 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.6043, allocations: 0.9451 MB / 0.9568 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.605, allocations: 240.2 kB / 0.9571 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.6053, allocations: 106.1 kB / 0.9572 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.6053, allocations: 5.672 kB / 0.9572 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.6054, allocations: 37.31 kB / 0.9572 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.6054, allocations: 4 kB / 0.9572 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001101/0.6065, allocations: 342.1 kB / 0.9575 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.6065, allocations: 78.48 kB / 0.9576 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.6067, allocations: 258.9 kB / 0.9578 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.6067, allocations: 30.89 kB / 0.9579 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.6068, allocations: 169.5 kB / 0.958 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.6068, allocations: 53.98 kB / 0.9581 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.6069, allocations: 38.58 kB / 0.9581 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.607, allocations: 341.3 kB / 0.9585 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.6073, allocations: 89.72 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.6076, allocations: 138.1 kB / 0.9587 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.6083, allocations: 243.7 kB / 0.9589 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6083, allocations: 0.7812 kB / 0.9589 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007848/0.6091, allocations: 296.8 kB / 0.9592 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.6091, allocations: 5.5 kB / 0.9592 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6091, allocations: 2.031 kB / 0.9592 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6091, allocations: 2 kB / 0.9592 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.6094, allocations: 67.81 kB / 0.9593 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.6094, allocations: 2.344 kB / 0.9593 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.6096, allocations: 40.59 kB / 0.9593 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.6097, allocations: 10.91 kB / 0.9593 GB, free: 1.746 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.273e-05/0.6097, allocations: 134.7 kB / 0.9594 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.6099, allocations: 32.42 kB / 0.9595 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007784/0.6106, allocations: 296 kB / 0.9598 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6107, allocations: 2.531 kB / 0.9598 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6107, allocations: 3.984 kB / 0.9598 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6107, allocations: 1.312 kB / 0.9598 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.611, allocations: 290 kB / 0.96 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.611, allocations: 0 / 0.96 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.6112, allocations: 55.17 kB / 0.9601 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6112, allocations: 1.094 kB / 0.9601 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.6113, allocations: 5.125 kB / 0.9601 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.6113, allocations: 6.281 kB / 0.9601 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6113, allocations: 0 / 0.9601 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.612, allocations: 457.6 kB / 0.9605 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.6121, allocations: 100.3 kB / 0.9606 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.6121, allocations: 9.453 kB / 0.9606 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.6124, allocations: 26.06 kB / 0.9607 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.6125, allocations: 15.39 kB / 0.9607 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.6125, allocations: 7.703 kB / 0.9607 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001386/0.6126, allocations: 190.3 kB / 0.9609 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6126, allocations: 5.219 kB / 0.9609 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003532/0.613, allocations: 58.12 kB / 0.9609 GB, free: 0.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.00109/0.6141, allocations: 0.9874 MB / 0.9619 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007688/0.6149, allocations: 242.5 kB / 0.9621 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6149, allocations: 0 / 0.9621 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.6153, allocations: 117.1 kB / 0.9622 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.6158, allocations: 76.73 kB / 0.9623 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.6197, allocations: 2.707 MB / 0.965 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.6199, allocations: 0.7544 MB / 0.9657 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000147/0.6201, allocations: 29.44 kB / 0.9657 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6202, allocations: 85.03 kB / 0.9658 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.6202, allocations: 7.938 kB / 0.9658 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.6425, allocations: 6.466 MB / 0.9721 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.875, allocations: 20 kB / 0.9721 GB, free: 9.355 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches