Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001561/0.001561, allocations: 100.3 kB / 19.74 MB, free: 2.059 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.001798/0.001798, allocations: 217.5 kB / 23.04 MB, free: 4.848 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.136/3.136, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [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.002023/0.002023, allocations: 73.16 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3702, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003611/0.3738, allocations: 2.066 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3758, allocations: 1.02 MB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.3759, allocations: 11.94 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.696e-05/0.376, allocations: 27.66 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.3763, allocations: 79.28 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.3768, allocations: 197.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.3771, allocations: 290.8 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3773, allocations: 52.83 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3774, allocations: 103.6 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.3777, allocations: 135.3 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.3777, allocations: 16 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.3782, allocations: 279.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.3782, allocations: 51.78 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3783, allocations: 103.4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.3788, allocations: 338.5 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3788, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3788, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3788, allocations: 0 / 1.332 GB, free: 12.15 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001132/0.3799, allocations: 0.5632 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.38, allocations: 12.03 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.3802, allocations: 32.75 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.3807, allocations: 229.4 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3807, allocations: 8.656 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3807, allocations: 20.36 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.3812, allocations: 221 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3812, allocations: 3.938 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3813, allocations: 8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3813, allocations: 8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.3819, allocations: 191.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3831, allocations: 0.8445 MB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.3839, allocations: 237.1 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.3842, allocations: 97.64 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.3843, allocations: 7.984 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.3843, allocations: 34.5 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.3843, allocations: 4 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.001194/0.3855, allocations: 337.5 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.3856, allocations: 77.11 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.3859, allocations: 268.2 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.386, allocations: 29.7 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.3861, allocations: 168.3 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.3862, allocations: 51.59 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.3862, allocations: 41.66 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3864, allocations: 342.8 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.3868, allocations: 87.91 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.3871, allocations: 151.9 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000726/0.3878, allocations: 237.8 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3878, allocations: 0 / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008568/0.3887, allocations: 297.8 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3887, allocations: 7.938 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.3887, allocations: 0 / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3888, allocations: 4 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.389, allocations: 63.88 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3891, allocations: 8.125 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.3893, allocations: 35.86 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3893, allocations: 4 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001459/0.3895, allocations: 138.2 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.3896, allocations: 31.84 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008284/0.3904, allocations: 299.1 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3904, allocations: 4 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3904, allocations: 0 / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3904, allocations: 3.984 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.3908, allocations: 205.1 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3908, allocations: 0 / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.391, allocations: 59.95 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.391, allocations: 0 / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.391, allocations: 7.875 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.391, allocations: 4 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.391, allocations: 0 / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.3919, allocations: 439.5 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.392, allocations: 23.81 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.392, allocations: 7.938 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3922, allocations: 27.95 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.3923, allocations: 19.97 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3923, allocations: 11.94 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001941/0.3925, allocations: 191.1 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3925, allocations: 0 / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003653/0.3929, allocations: 55.89 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002102/0.3931, allocations: 123.1 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007498/0.3939, allocations: 220.1 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3939, allocations: 0 / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.3942, allocations: 119.9 kB / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.3947, allocations: 73.25 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009455/0.3957, allocations: 470.4 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.3958, allocations: 150.8 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.3959, allocations: 27.44 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.3959, allocations: 4 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of Templates: time 0.006646/0.4026, allocations: 3.589 MB / 1.342 GB, free: 0.875 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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: 11.623780549969524]