Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_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.001819/0.001818, allocations: 108.6 kB / 15.73 MB, free: 72 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.002178/0.002179, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.952/1.952, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.734/3.734, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3865, allocations: 151.6 MB / 1.166 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.004029/0.3905, allocations: 1.615 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3927, allocations: 0.9122 MB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.3928, allocations: 0 / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.3929, allocations: 7.875 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3932, allocations: 23.78 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.3936, allocations: 143.6 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.3938, allocations: 67.78 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.394, allocations: 11.86 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3941, allocations: 47.77 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.3943, allocations: 31.84 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.3944, allocations: 4 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006494/0.395, allocations: 287.7 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.3951, allocations: 15.92 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.3952, allocations: 27.86 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.3955, allocations: 155.7 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3955, allocations: 0 / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3955, allocations: 0 / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3955, allocations: 0 / 1.169 GB, free: 4.047 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007324/0.3962, allocations: 414.8 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3963, allocations: 8.031 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.3964, allocations: 42.69 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.3965, allocations: 8.891 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.3969, allocations: 188.2 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3969, allocations: 4.375 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3969, allocations: 4.375 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.3972, allocations: 65.78 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3973, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3973, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3973, allocations: 4 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.3975, allocations: 43.95 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.3981, allocations: 300.7 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.3983, allocations: 54.55 kB / 1.171 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.3985, allocations: 32.97 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3985, allocations: 0 / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3986, allocations: 34.56 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.734e-06/0.3986, allocations: 0 / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0004855/0.3991, allocations: 109.5 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3991, allocations: 55.41 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3993, allocations: 131.7 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3993, allocations: 29.7 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.3994, allocations: 92.14 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.3995, allocations: 15.83 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.3995, allocations: 21.66 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.3998, allocations: 326.8 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3999, allocations: 19.98 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4001, allocations: 31.92 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.4003, allocations: 56.77 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4003, allocations: 384 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002262/0.4005, allocations: 89.62 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.4006, allocations: 7.984 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4006, allocations: 0 / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.4006, allocations: 8 kB / 1.172 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4007, allocations: 11.98 kB / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4007, allocations: 0 / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.4008, allocations: 11.95 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.4009, allocations: 4 kB / 1.172 GB, free: 1.629 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 (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 0.0001312/0.401, allocations: 113.8 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.4011, allocations: 7.953 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.4015, allocations: 105.9 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4015, allocations: 0 / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4015, allocations: 0 / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.4016, allocations: 3.984 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.4018, allocations: 185.6 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4018, allocations: 3.984 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.4019, allocations: 8 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4019, allocations: 0 / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4019, allocations: 7.984 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4019, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4019, allocations: 4 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.4022, allocations: 187.4 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.4023, allocations: 89.05 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.4023, allocations: 4 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.4024, allocations: 4 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.4025, allocations: 3.984 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4025, allocations: 8.188 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.329e-05/0.4026, allocations: 101.6 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4026, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000262/0.4029, allocations: 23.94 kB / 1.172 GB, free: 0.6836 MB / 0.92 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.0007413/0.4036, allocations: 0.7474 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.4039, allocations: 47.97 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4039, allocations: 7.938 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.951e-05/0.404, allocations: 31.92 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.4043, allocations: 15.92 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.4065, allocations: 1.461 MB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.407, allocations: 0.6961 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.048e-05/0.4071, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.818e-05/0.4072, allocations: 31.42 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.4072, allocations: 0 / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.4333, allocations: 2.315 MB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.68, allocations: 11.83 kB / 1.178 GB, free: 11.32 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches