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.001832/0.001832, allocations: 113 kB / 16.46 MB, free: 6.453 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.002128/0.002128, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.607/1.607, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.978/2.978, allocations: 476.7 MB / 0.7672 GB, free: 5.266 MB / 0.6231 GB " [Timeout remaining time 176] 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.00202/0.00202, allocations: 71.89 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.004149/1.036, allocations: 1.648 MB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002579/1.039, allocations: 0.991 MB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/1.039, allocations: 3.938 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.632e-05/1.039, allocations: 7.922 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000329/1.039, allocations: 23.8 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/1.04, allocations: 163.2 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/1.04, allocations: 75.66 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/1.04, allocations: 13.81 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/1.041, allocations: 47.78 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/1.041, allocations: 35.84 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/1.041, allocations: 4 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007497/1.042, allocations: 287.7 kB / 1.282 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/1.042, allocations: 15.91 kB / 1.282 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/1.042, allocations: 35.8 kB / 1.282 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/1.042, allocations: 155.5 kB / 1.282 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.042, allocations: 0 / 1.282 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/1.042, allocations: 3.938 kB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.042, allocations: 0 / 1.282 GB, free: 9.906 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.0009339/1.043, allocations: 422.7 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.043, allocations: 12.03 kB / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/1.043, allocations: 34.73 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/1.044, allocations: 24.88 kB / 1.282 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/1.044, allocations: 200.2 kB / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/1.044, allocations: 8.375 kB / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/1.044, allocations: 4.375 kB / 1.282 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/1.044, allocations: 65.78 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.044, allocations: 3.938 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.044, allocations: 0 / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.044, allocations: 4 kB / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/1.045, allocations: 43.91 kB / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/1.045, allocations: 296.8 kB / 1.283 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/1.045, allocations: 50.56 kB / 1.283 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/1.045, allocations: 28.95 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/1.046, allocations: 4.062 kB / 1.283 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.046, allocations: 34.56 kB / 1.283 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 2.285e-06/1.046, allocations: 3.938 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0005229/1.046, allocations: 105.6 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.046, allocations: 55.41 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/1.046, allocations: 132.4 kB / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/1.046, allocations: 33.69 kB / 1.283 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/1.046, allocations: 100 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/1.046, allocations: 11.91 kB / 1.283 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/1.046, allocations: 21.7 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.047, allocations: 326.8 kB / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/1.047, allocations: 19.98 kB / 1.284 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/1.047, allocations: 23.98 kB / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/1.047, allocations: 56.77 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.047, allocations: 4 kB / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003229/1.047, allocations: 86.06 kB / 1.284 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.047, allocations: 4 kB / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.047, allocations: 7.984 kB / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.048, allocations: 3.984 kB / 1.284 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/1.048, allocations: 12 kB / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.048, allocations: 3.984 kB / 1.284 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/1.048, allocations: 8 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/1.048, allocations: 8 kB / 1.284 GB, free: 7.453 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.000133/1.048, allocations: 124.1 kB / 1.284 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/1.048, allocations: 7.953 kB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/1.048, allocations: 97.89 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.048, allocations: 0 / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.048, allocations: 0 / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.048, allocations: 4 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/1.049, allocations: 201.4 kB / 1.284 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/1.049, allocations: 0 / 1.284 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/1.049, allocations: 12 kB / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.049, allocations: 0 / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/1.049, allocations: 7.984 kB / 1.284 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.049, allocations: 0 / 1.284 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.049, allocations: 3.938 kB / 1.284 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/1.049, allocations: 195.4 kB / 1.284 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/1.049, allocations: 81.06 kB / 1.285 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/1.049, allocations: 4 kB / 1.285 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/1.049, allocations: 0 / 1.285 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/1.05, allocations: 7.984 kB / 1.285 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/1.05, allocations: 0 / 1.285 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001252/1.05, allocations: 105.5 kB / 1.285 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/1.05, allocations: 0 / 1.285 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005668/1.05, allocations: 24 kB / 1.285 GB, free: 6.492 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.001003/1.051, allocations: 0.7427 MB / 1.285 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000312/1.052, allocations: 56.03 kB / 1.285 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.052, allocations: 0 / 1.285 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/1.052, allocations: 39.91 kB / 1.286 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/1.052, allocations: 8 kB / 1.286 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/1.055, allocations: 1.478 MB / 1.287 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/1.055, allocations: 0.6963 MB / 1.288 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.874e-05/1.055, allocations: 7.922 kB / 1.288 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/1.055, allocations: 27.42 kB / 1.288 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of SimCode: time 7.02e-07/1.055, allocations: 0 / 1.288 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/1.089, allocations: 2.386 MB / 1.29 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/9.213, allocations: 12.75 kB / 1.29 GB, free: 1.039 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.838853979017586]