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.0008225/0.0008225, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001072/0.001072, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8906/0.8906, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.64/1.64, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.02e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002636/0.002656, allocations: 1.619 MB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004199, allocations: 0.9313 MB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.004276, allocations: 0 / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.004314, allocations: 11.86 kB / 0.953 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.004548, allocations: 27.78 kB / 0.9531 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.004943, allocations: 165.8 kB / 0.9532 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.005105, allocations: 79.66 kB / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.005207, allocations: 11.97 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.005364, allocations: 47.91 kB / 0.9533 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.005449, allocations: 31.89 kB / 0.9534 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.005468, allocations: 8 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.00583, allocations: 271.6 kB / 0.9536 GB, free: 260 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.005849, allocations: 7.938 kB / 0.9537 GB, free: 252 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.005881, allocations: 23.91 kB / 0.9537 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.00615, allocations: 191.4 kB / 0.9539 GB, free: 36 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.006153, allocations: 0 / 0.9539 GB, free: 36 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.302e-06/0.006154, allocations: 0 / 0.9539 GB, free: 36 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.006159, allocations: 0 / 0.9539 GB, free: 36 kB / 0.9011 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.0005304/0.006689, allocations: 343.5 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.006734, allocations: 16.03 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.006766, allocations: 34.75 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.006915, allocations: 28.86 kB / 0.9543 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.007085, allocations: 133.6 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.007095, allocations: 4.375 kB / 0.9544 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.007104, allocations: 384 / 0.9544 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.007327, allocations: 62.22 kB / 0.9545 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.007333, allocations: 4.188 kB / 0.9545 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.007345, allocations: 16.06 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.00735, allocations: 0 / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.00744, allocations: 39.97 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.007761, allocations: 259.9 kB / 0.9548 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.942e-05/0.00786, allocations: 58.47 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.007905, allocations: 28.97 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.007921, allocations: 3.938 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.007941, allocations: 38.56 kB / 0.9549 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.007942, allocations: 0 / 0.9549 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5): time 0.000241/0.008183, allocations: 109.8 kB / 0.955 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.008211, allocations: 51.41 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.008291, allocations: 136.2 kB / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.008303, allocations: 25.7 kB / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.008349, allocations: 100.1 kB / 0.9553 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.008366, allocations: 23.84 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.008396, allocations: 17.72 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.008472, allocations: 318.8 kB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.008515, allocations: 23.98 kB / 0.9557 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.008554, allocations: 23.92 kB / 0.9557 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.49e-05/0.008639, allocations: 52.83 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008642, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001309/0.008772, allocations: 101.5 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.008784, allocations: 4 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.008789, allocations: 0 / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.0088, allocations: 0 / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.00887, allocations: 19.92 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.008874, allocations: 0 / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.008902, allocations: 7.938 kB / 0.9559 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.00891, allocations: 7.938 kB / 0.9559 GB, free: 13.79 MB / 0.9167 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 7.118e-05/0.008981, allocations: 113.8 kB / 0.956 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.009007, allocations: 15.88 kB / 0.956 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.009163, allocations: 94.12 kB / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.009164, allocations: 0 / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.009168, allocations: 0 / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009172, allocations: 3.984 kB / 0.9561 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.009304, allocations: 152.6 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009306, allocations: 0 / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.009344, allocations: 16.3 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.009345, allocations: 4 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.009353, allocations: 7.938 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.009356, allocations: 3.984 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.009356, allocations: 0 / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.009494, allocations: 187.4 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.009502, allocations: 7.953 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.009514, allocations: 3.984 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.009554, allocations: 8 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.009592, allocations: 3.984 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.009596, allocations: 8 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.802e-05/0.009674, allocations: 105.6 kB / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009674, allocations: 0 / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001552/0.009829, allocations: 20 kB / 0.9566 GB, free: 12.97 MB / 0.9167 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.0003712/0.0102, allocations: 0.7436 MB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01033, allocations: 51.97 kB / 0.9574 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01033, allocations: 4 kB / 0.9574 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.01037, allocations: 31.91 kB / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.01058, allocations: 10.66 kB / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.01169, allocations: 1.475 MB / 0.9588 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.01174, allocations: 75.33 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.01177, allocations: 15.72 kB / 0.9589 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.01182, allocations: 24.5 kB / 0.959 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.01182, allocations: 0 / 0.959 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.02823, allocations: 3.06 MB / 0.9619 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/6.789, allocations: 10.05 kB / 0.962 GB, free: 7.5 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.924964617937803]