Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002383/0.002383, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.799/2.799, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 66.77 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3705, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00321/0.3737, allocations: 1.613 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3754, allocations: 0.921 MB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.3754, allocations: 7.938 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.3755, allocations: 7.922 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.3757, allocations: 23.78 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.3762, allocations: 167.4 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3764, allocations: 79.66 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.3764, allocations: 4 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.3766, allocations: 43.89 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.3767, allocations: 35.78 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3767, allocations: 4 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.3771, allocations: 271.6 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.3772, allocations: 15.98 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.3772, allocations: 31.78 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.3775, allocations: 159 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3775, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3775, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3775, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 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.0006945/0.3782, allocations: 347.7 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3783, allocations: 8.031 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.3783, allocations: 30.75 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.3786, allocations: 36.86 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3789, allocations: 134.4 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3789, allocations: 12.38 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3789, allocations: 4.359 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3791, allocations: 69.73 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3791, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3791, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3791, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3793, allocations: 43.97 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.3798, allocations: 263.9 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3799, allocations: 54.48 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.38, allocations: 32.91 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.38, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.38, allocations: 34.56 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3801, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003686/0.3804, allocations: 105.6 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3805, allocations: 55.41 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3806, allocations: 132 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3806, allocations: 29.7 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.3807, allocations: 96.09 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3807, allocations: 15.89 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3808, allocations: 17.72 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3809, allocations: 334.7 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.381, allocations: 19.98 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.3811, allocations: 19.98 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.3812, allocations: 56.83 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3812, allocations: 0 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002286/0.3815, allocations: 89.61 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3815, allocations: 4 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3815, allocations: 4 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3815, allocations: 4 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.3816, allocations: 15.92 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3817, allocations: 0 / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.3817, allocations: 8.375 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3817, allocations: 4 kB / 1.288 GB, free: 6.848 MB / 0.9825 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.000113/0.3818, allocations: 121.8 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.3819, allocations: 7.953 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.3821, allocations: 106 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3821, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3821, allocations: 7.984 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3822, allocations: 0 / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3824, allocations: 152.7 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3824, allocations: 3.984 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.3825, allocations: 15.94 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3825, allocations: 0 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3825, allocations: 3.984 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3825, allocations: 4 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3825, allocations: 4 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3828, allocations: 183.4 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.3828, allocations: 15.92 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3828, allocations: 0 / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.3829, allocations: 4 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.3829, allocations: 11.98 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3829, allocations: 3.938 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.059e-05/0.383, allocations: 105.3 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.383, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002506/0.3833, allocations: 27.92 kB / 1.289 GB, free: 6.008 MB / 0.9825 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.0007161/0.384, allocations: 0.728 MB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3842, allocations: 59.91 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3842, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.3843, allocations: 32.28 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3846, allocations: 16.12 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.3865, allocations: 1.479 MB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.3866, allocations: 79.08 kB / 1.291 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.341e-05/0.3867, allocations: 8 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.3867, allocations: 23.42 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3867, allocations: 0 / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.4164, allocations: 2.929 MB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 12.28 kB / 1.294 GB, free: 0.6719 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.782252079807222]