Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001758/0.001758, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002576/0.002576, allocations: 220.3 kB / 22.25 MB, free: 5.102 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.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.303/3.303, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_12_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.002078/0.002078, allocations: 62.98 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4342, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003312/0.4375, allocations: 1.611 MB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.4393, allocations: 0.9232 MB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.4394, allocations: 7.938 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.4394, allocations: 7.875 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.4397, allocations: 23.78 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.4401, allocations: 159 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.4403, allocations: 79.69 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4404, allocations: 15.88 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.4405, allocations: 47.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.4406, allocations: 39.83 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.4407, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.4411, allocations: 283.6 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.4411, allocations: 11.94 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.4412, allocations: 31.86 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.4415, allocations: 159.4 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4415, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4415, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4415, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 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.0006289/0.4421, allocations: 349.6 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4422, allocations: 8.031 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.4422, allocations: 42.73 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.4425, allocations: 28.88 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.4428, allocations: 139.4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4428, allocations: 384 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.4428, allocations: 8.375 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.443, allocations: 65.78 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.443, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.443, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.443, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.4432, allocations: 43.91 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.4437, allocations: 263.9 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.4438, allocations: 50.56 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4439, allocations: 36.94 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.444, allocations: 4 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.444, allocations: 30.56 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.444, allocations: 4 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003817/0.4444, allocations: 105.5 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.4444, allocations: 55.41 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4446, allocations: 135.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.4446, allocations: 25.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.4447, allocations: 100.1 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.4447, allocations: 15.84 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.4447, allocations: 25.7 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4449, allocations: 322.8 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.445, allocations: 23.92 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.4451, allocations: 23.98 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.4452, allocations: 56.77 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4452, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002229/0.4455, allocations: 97.56 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4455, allocations: 4 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4455, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4455, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4456, allocations: 16.42 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4456, allocations: 3.984 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.4457, allocations: 11.98 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4457, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 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.0001269/0.4458, allocations: 122.2 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.4459, allocations: 11.91 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4461, allocations: 102 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4461, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4461, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4461, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.4463, allocations: 152.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4463, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.4464, allocations: 11.98 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4464, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4464, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4464, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4464, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.4467, allocations: 195.3 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.4467, allocations: 3.953 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4468, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.4468, allocations: 7.984 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.4469, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.4469, allocations: 3.984 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.172e-05/0.447, allocations: 104.6 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.447, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002484/0.4472, allocations: 27.94 kB / 1.332 GB, free: 10.98 MB / 1.029 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.0007073/0.4479, allocations: 0.7318 MB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.4482, allocations: 60.09 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4482, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.609e-05/0.4482, allocations: 28.05 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.4486, allocations: 21.59 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.4505, allocations: 1.476 MB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.4506, allocations: 75.33 kB / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.4506, allocations: 0 / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.4507, allocations: 35.36 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4507, allocations: 0 / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.4824, allocations: 2.972 MB / 1.337 GB, free: 5.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.85, allocations: 3.109 kB / 1.337 GB, free: 5.605 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.114814214000944]