Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001752/0.001752, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00215/0.00215, allocations: 211.4 kB / 22.24 MB, free: 4.859 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.314/3.314, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_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.002182/0.002182, allocations: 71.11 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3937, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003357/0.3971, allocations: 1.615 MB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.399, allocations: 0.9281 MB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.399, allocations: 4 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.3991, allocations: 3.938 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.3993, allocations: 27.78 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.3998, allocations: 163.8 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.3999, allocations: 83.58 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4001, allocations: 15.92 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.4002, allocations: 31.92 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4003, allocations: 39.77 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.4003, allocations: 7.938 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.4008, allocations: 271.6 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.4008, allocations: 12 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.4008, allocations: 23.86 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.4011, allocations: 163.4 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4011, allocations: 4 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4011, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4011, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 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.0006311/0.4018, allocations: 337.7 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4018, allocations: 8.031 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.4019, allocations: 34.75 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002884/0.4022, allocations: 32.86 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.4024, allocations: 142.4 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4025, allocations: 8.125 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.4025, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.4027, allocations: 65.61 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4027, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4027, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4027, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.4029, allocations: 51.89 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.4034, allocations: 267.9 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.4035, allocations: 50.5 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.4036, allocations: 24.97 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.4036, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4037, allocations: 34.56 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.4037, allocations: 0 / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0003975/0.4041, allocations: 109.6 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.4041, allocations: 55.41 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.4043, allocations: 131.5 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4043, allocations: 29.7 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.4043, allocations: 100.1 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.4044, allocations: 19.84 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.4044, allocations: 21.7 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4046, allocations: 318.8 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/0.4046, allocations: 23.98 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.4047, allocations: 27.97 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.4049, allocations: 48.84 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4049, allocations: 7.922 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002283/0.4051, allocations: 93.58 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4051, allocations: 6.344 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4051, allocations: 4 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4051, allocations: 0 / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4053, allocations: 19.92 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4053, allocations: 448 / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.4053, allocations: 11.92 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4053, allocations: 7.984 kB / 1.369 GB, free: 8.438 MB / 1.061 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 9.521e-05/0.4054, allocations: 113.8 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.4055, allocations: 11.94 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.4058, allocations: 102 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4058, allocations: 0 / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4058, allocations: 8 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4058, allocations: 3.938 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.406, allocations: 144.7 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.406, allocations: 0 / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.4061, allocations: 15.98 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4061, allocations: 3.938 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4061, allocations: 4 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.4061, allocations: 4 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4061, allocations: 0 / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.4064, allocations: 187.4 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.4064, allocations: 11.95 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4064, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.4065, allocations: 7.984 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.4065, allocations: 4 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.4065, allocations: 3.938 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.807e-05/0.4066, allocations: 113.1 kB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4066, allocations: 0 / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002671/0.4069, allocations: 23.89 kB / 1.369 GB, free: 7.609 MB / 1.061 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.0006948/0.4076, allocations: 0.7281 MB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.4078, allocations: 59.89 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4078, allocations: 0 / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.4079, allocations: 28.3 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4083, allocations: 27.92 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.4101, allocations: 1.473 MB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.802e-05/0.4102, allocations: 75.33 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.254e-05/0.4102, allocations: 11.98 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.4103, allocations: 27.42 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.4103, allocations: 0 / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04237/0.4527, allocations: 2.915 MB / 1.375 GB, free: 2.297 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.32, allocations: 9.938 kB / 1.375 GB, free: 2.289 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.540502884890884]