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.001361/0.001361, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001839/0.001839, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 8.004 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.849/2.849, allocations: 476.8 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] 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.002055/0.002055, allocations: 67.3 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003495/0.3333, allocations: 1.65 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3351, allocations: 1.003 MB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.3352, allocations: 3.938 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.3352, allocations: 7.938 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.3354, allocations: 19.8 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.336, allocations: 168.2 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3362, allocations: 71.72 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.3363, allocations: 12.69 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.3364, allocations: 43.8 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3365, allocations: 39.84 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3366, allocations: 4 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006336/0.3372, allocations: 291.6 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.3372, allocations: 15.92 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3373, allocations: 27.81 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.3375, allocations: 159.5 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3376, allocations: 0 / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3376, allocations: 0 / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3376, allocations: 0 / 1.287 GB, free: 8.184 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.0006802/0.3382, allocations: 351.4 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3383, allocations: 12.03 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.3383, allocations: 38.69 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.3386, allocations: 32.8 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3389, allocations: 138.4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3389, allocations: 8.375 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3389, allocations: 384 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3391, allocations: 65.78 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3391, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3391, allocations: 8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3391, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.3393, allocations: 43.91 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.3398, allocations: 275.8 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.3399, allocations: 50.56 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.34, allocations: 24.97 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.34, allocations: 4.062 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3401, allocations: 38.56 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3401, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003686/0.3404, allocations: 109.5 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3405, allocations: 51.41 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3406, allocations: 136.4 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3406, allocations: 25.7 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.3407, allocations: 104.1 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3407, allocations: 11.91 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.3408, allocations: 21.7 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3409, allocations: 322.8 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/0.341, allocations: 19.98 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.3411, allocations: 23.97 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3412, allocations: 65.14 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3412, allocations: 4 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002134/0.3414, allocations: 85.62 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3414, allocations: 8 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3415, allocations: 0 / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3415, allocations: 0 / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3416, allocations: 11.98 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3416, allocations: 4 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.3417, allocations: 11.92 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3417, allocations: 8 kB / 1.289 GB, free: 5.918 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.000157/0.3418, allocations: 113.8 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.3419, allocations: 23.78 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.3421, allocations: 94.05 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3421, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3421, allocations: 7.938 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3421, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.3423, allocations: 156.7 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3423, allocations: 0 / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.3424, allocations: 15.98 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3424, allocations: 0 / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3424, allocations: 4 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3424, allocations: 4 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3424, allocations: 0 / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.3427, allocations: 191.3 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.3427, allocations: 12.14 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.3427, allocations: 4 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.3428, allocations: 7.984 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.3429, allocations: 3.984 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3429, allocations: 4 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.278e-05/0.343, allocations: 99.27 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.343, allocations: 0 / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002653/0.3432, allocations: 23.94 kB / 1.29 GB, free: 5.09 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.0008819/0.3441, allocations: 0.7397 MB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3443, allocations: 51.97 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3443, allocations: 4 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.3444, allocations: 27.92 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3447, allocations: 18.03 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3466, allocations: 1.485 MB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.347, allocations: 0.6946 MB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.019e-05/0.347, allocations: 7.984 kB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.3471, allocations: 27.42 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of SimCode: time 1.252e-06/0.3471, allocations: 0 / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.3782, allocations: 2.483 MB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.06, allocations: 10.06 kB / 1.295 GB, free: 15.56 MB / 0.9981 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: 17.795315882000068]