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.001329/0.001329, 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.001549/0.001549, allocations: 218 kB / 22.26 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.023 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.112/3.112, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.002003/0.002003, allocations: 71.95 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3384, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.004482/0.3429, allocations: 1.659 MB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002662/0.3456, allocations: 1.001 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.3456, allocations: 3.938 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.3457, allocations: 3.938 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.346, allocations: 23.78 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.3466, allocations: 163.8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.3469, allocations: 83.64 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.347, allocations: 15.94 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3471, allocations: 39.84 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.3473, allocations: 35.84 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3473, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/0.348, allocations: 287.6 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.348, allocations: 15.88 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.3481, allocations: 39.78 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.3485, allocations: 159.4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3485, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3485, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3485, allocations: 0 / 1.329 GB, free: 14.45 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.0007551/0.3493, allocations: 337.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3493, allocations: 8.031 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/0.3494, allocations: 42.73 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.3498, allocations: 24.88 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3501, allocations: 151.7 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3501, allocations: 384 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3502, allocations: 8.375 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.3504, allocations: 61.78 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.3504, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3504, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3504, allocations: 3.938 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.3507, allocations: 43.97 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.3513, allocations: 267.9 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3516, allocations: 54.55 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.3517, allocations: 32.97 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3517, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3518, allocations: 34.5 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.3518, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0006101/0.3524, allocations: 105.6 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.3525, allocations: 59.41 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.3526, allocations: 127.9 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3527, allocations: 37.7 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.3528, allocations: 96.08 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3528, allocations: 15.84 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.3529, allocations: 17.72 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3531, allocations: 326.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3532, allocations: 19.98 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3533, allocations: 27.92 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.3536, allocations: 56.83 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3536, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003956/0.354, allocations: 89.61 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.354, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.354, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.354, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3542, allocations: 15.98 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3542, allocations: 7.938 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.3543, allocations: 8 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3543, allocations: 7.922 kB / 1.331 GB, free: 12.19 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.0001234/0.3545, allocations: 118.3 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.3545, allocations: 11.91 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.3549, allocations: 102.4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3549, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3549, allocations: 4.062 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3549, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.3553, allocations: 160.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3553, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3554, allocations: 19.92 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3554, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3554, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3554, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3554, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.3559, allocations: 195.4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.3559, allocations: 3.953 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.356, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3561, allocations: 3.984 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.3562, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3562, allocations: 3.984 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001237/0.3563, allocations: 104.6 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3563, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004767/0.3568, allocations: 27.94 kB / 1.332 GB, free: 11.35 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.0009633/0.3578, allocations: 0.7279 MB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.3581, allocations: 55.97 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3581, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3582, allocations: 31.92 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.3587, allocations: 19.86 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.3615, allocations: 1.473 MB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.3619, allocations: 0.6924 MB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.182e-05/0.362, allocations: 4 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.3621, allocations: 27.42 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3621, allocations: 3.938 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/0.4022, allocations: 2.502 MB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.78, allocations: 10.34 kB / 1.338 GB, free: 5.832 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.297459664001508]