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.001404/0.001404, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001567/0.001567, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.432/3.432, allocations: 0.505 GB / 0.8066 GB, free: 23.02 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.002224/0.002224, allocations: 73.48 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3297, allocations: 180.2 MB / 1.348 GB, free: 9.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002848/0.3326, allocations: 1.646 MB / 1.349 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3341, allocations: 0.9859 MB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.3342, allocations: 7.938 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.3342, allocations: 11.92 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.3344, allocations: 19.8 kB / 1.35 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.3348, allocations: 167.5 kB / 1.351 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.335, allocations: 75.66 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.3351, allocations: 12.22 kB / 1.351 GB, free: 6.977 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3352, allocations: 47.83 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.3353, allocations: 35.84 kB / 1.351 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3353, allocations: 4 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.3357, allocations: 283.7 kB / 1.351 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.3357, allocations: 15.92 kB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.3358, allocations: 35.78 kB / 1.351 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.3361, allocations: 163.3 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3361, allocations: 4 kB / 1.351 GB, free: 6.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3361, allocations: 4 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3361, allocations: 0 / 1.351 GB, free: 6.395 MB / 1.045 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.0005956/0.3367, allocations: 414.8 kB / 1.352 GB, free: 5.941 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3367, allocations: 11.98 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.3367, allocations: 38.73 kB / 1.352 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.337, allocations: 24.88 kB / 1.352 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.3373, allocations: 200.2 kB / 1.352 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.3373, allocations: 12.12 kB / 1.352 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.3373, allocations: 4 kB / 1.352 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3375, allocations: 61.66 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3375, allocations: 11.88 kB / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3375, allocations: 3.938 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3375, allocations: 0 / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.3376, allocations: 39.97 kB / 1.352 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.3381, allocations: 300.8 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3382, allocations: 46.56 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.3383, allocations: 36.95 kB / 1.352 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.3384, allocations: 3.938 kB / 1.352 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3384, allocations: 38.56 kB / 1.352 GB, free: 5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3384, allocations: 0 / 1.352 GB, free: 5 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.000369/0.3387, allocations: 101.6 kB / 1.352 GB, free: 4.895 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.3388, allocations: 55.41 kB / 1.353 GB, free: 4.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3389, allocations: 135.8 kB / 1.353 GB, free: 4.684 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3389, allocations: 29.69 kB / 1.353 GB, free: 4.648 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.339, allocations: 96.14 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.339, allocations: 19.84 kB / 1.353 GB, free: 4.531 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3391, allocations: 17.7 kB / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3392, allocations: 322.8 kB / 1.353 GB, free: 4.184 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.3393, allocations: 27.98 kB / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.3394, allocations: 23.92 kB / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3395, allocations: 56.83 kB / 1.353 GB, free: 4.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3395, allocations: 0 / 1.353 GB, free: 4.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002389/0.3398, allocations: 85.62 kB / 1.353 GB, free: 3.984 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3398, allocations: 6.031 kB / 1.353 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3398, allocations: 3.984 kB / 1.353 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3398, allocations: 0 / 1.353 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3399, allocations: 16 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3399, allocations: 7.922 kB / 1.353 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.34, allocations: 11.89 kB / 1.353 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.34, allocations: 4.438 kB / 1.353 GB, free: 3.938 MB / 1.045 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 8.679e-05/0.3401, allocations: 113.8 kB / 1.353 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.3401, allocations: 7.953 kB / 1.353 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.3404, allocations: 105.9 kB / 1.354 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3404, allocations: 0 / 1.354 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3404, allocations: 0 / 1.354 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3404, allocations: 3.938 kB / 1.354 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.3406, allocations: 197.7 kB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3406, allocations: 3.938 kB / 1.354 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.3407, allocations: 11.94 kB / 1.354 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3407, allocations: 4 kB / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3407, allocations: 3.984 kB / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3407, allocations: 0 / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3407, allocations: 3.938 kB / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.341, allocations: 191.4 kB / 1.354 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.3411, allocations: 85.06 kB / 1.354 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.3411, allocations: 0 / 1.354 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.3412, allocations: 4 kB / 1.354 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.3412, allocations: 7.984 kB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3412, allocations: 7.938 kB / 1.354 GB, free: 3.094 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.019e-05/0.3413, allocations: 100.6 kB / 1.354 GB, free: 2.996 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3413, allocations: 0 / 1.354 GB, free: 2.996 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002568/0.3415, allocations: 23.94 kB / 1.354 GB, free: 2.973 MB / 1.045 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.0006529/0.3422, allocations: 0.7358 MB / 1.355 GB, free: 2.211 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3424, allocations: 51.97 kB / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3424, allocations: 4 kB / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.3425, allocations: 31.91 kB / 1.355 GB, free: 2.125 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3428, allocations: 12.38 kB / 1.355 GB, free: 2.113 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3445, allocations: 1.488 MB / 1.356 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3449, allocations: 0.6963 MB / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.3449, allocations: 4 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.345, allocations: 27.42 kB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.345, allocations: 0 / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3702, allocations: 2.393 MB / 1.36 GB, free: 13.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.8, allocations: 6.078 kB / 1.36 GB, free: 13.55 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.915598843013868]