Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001565/0.001565, allocations: 108 kB / 15.61 MB, free: 148 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.001784/0.001784, allocations: 197.3 kB / 16.53 MB, free: 6.699 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.364/2.364, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 67.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6003/0.6028, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002482/0.6053, allocations: 1.592 MB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.6065, allocations: 0.9035 MB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.6066, allocations: 1.062 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.6066, allocations: 3.938 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.6068, allocations: 27.75 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.6071, allocations: 140.3 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.6072, allocations: 83.86 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.6073, allocations: 13.41 kB / 0.9524 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.6074, allocations: 34.58 kB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.6075, allocations: 43.92 kB / 0.9525 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.6076, allocations: 9.188 kB / 0.9525 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.6079, allocations: 280.4 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.6079, allocations: 10.47 kB / 0.9528 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.608, allocations: 27.17 kB / 0.9528 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.6082, allocations: 159.3 kB / 0.953 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6082, allocations: 1.344 kB / 0.953 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.61e-07/0.6082, allocations: 0 / 0.953 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.6082, allocations: 0 / 0.953 GB, free: 6.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004592/0.6087, allocations: 403.1 kB / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6087, allocations: 9.562 kB / 0.9534 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.6087, allocations: 36.19 kB / 0.9534 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.6089, allocations: 14.05 kB / 0.9534 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.609, allocations: 192.2 kB / 0.9536 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.609, allocations: 5.812 kB / 0.9536 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.609, allocations: 6.688 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.6092, allocations: 65.36 kB / 0.9537 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.6092, allocations: 7.938 kB / 0.9537 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.6092, allocations: 1 kB / 0.9537 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6092, allocations: 1.125 kB / 0.9537 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.6094, allocations: 40 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.6097, allocations: 292.4 kB / 0.954 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.6099, allocations: 56.44 kB / 0.954 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.61, allocations: 26.84 kB / 0.9541 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.61, allocations: 3.938 kB / 0.9541 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.61, allocations: 36.19 kB / 0.9541 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.61, allocations: 0 / 0.9541 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003615/0.6104, allocations: 110.6 kB / 0.9542 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.6104, allocations: 52.69 kB / 0.9543 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.6105, allocations: 126.9 kB / 0.9544 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.6105, allocations: 30.98 kB / 0.9544 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.6106, allocations: 98.45 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.6106, allocations: 14.05 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.6106, allocations: 18.78 kB / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.6107, allocations: 328.2 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/0.6108, allocations: 20.92 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.6108, allocations: 32.48 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.611, allocations: 52.55 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.611, allocations: 0 / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002124/0.6112, allocations: 93.91 kB / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6112, allocations: 6.406 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6113, allocations: 5.156 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6113, allocations: 448 / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.6114, allocations: 14.98 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6114, allocations: 3.938 kB / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.6115, allocations: 15.16 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.6115, allocations: 2.688 kB / 0.9551 GB, free: 4.602 MB / 0.7169 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 5.791e-05/0.6116, allocations: 116.1 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.6116, allocations: 11.5 kB / 0.9552 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.6119, allocations: 92.38 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6119, allocations: 1.156 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6119, allocations: 3.984 kB / 0.9553 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6119, allocations: 3.938 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.612, allocations: 188 kB / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6121, allocations: 0 / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.6122, allocations: 19.05 kB / 0.9555 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6122, allocations: 4 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.6122, allocations: 1.281 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6122, allocations: 0 / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6122, allocations: 1 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.6124, allocations: 188.2 kB / 0.9557 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.6125, allocations: 83.11 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.6125, allocations: 5.062 kB / 0.9558 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.6126, allocations: 7.438 kB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.6126, allocations: 10.25 kB / 0.9558 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.6127, allocations: 5 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.6127, allocations: 101.1 kB / 0.9559 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6127, allocations: 0 / 0.9559 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002511/0.613, allocations: 25.73 kB / 0.9559 GB, free: 3.797 MB / 0.7169 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.0005133/0.6135, allocations: 0.7337 MB / 0.9566 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.6137, allocations: 65.77 kB / 0.9567 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6137, allocations: 3.938 kB / 0.9567 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.22e-05/0.6138, allocations: 26.08 kB / 0.9567 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.6141, allocations: 18.72 kB / 0.9567 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.6154, allocations: 1.453 MB / 0.9582 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.6155, allocations: 0.6974 MB / 0.9588 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.6155, allocations: 4 kB / 0.9588 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.6156, allocations: 25.48 kB / 0.9589 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6156, allocations: 0 / 0.9589 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.633, allocations: 2.265 MB / 0.9611 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.348, allocations: 9.156 kB / 0.9611 GB, free: 15.8 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches