Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001814/0.001814, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.001964/0.001964, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.65/1.65, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.468/3.468, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: 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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.902e-05/4.083e-05, allocations: 4.562 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004312/0.004353, allocations: 2.135 MB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.00661, allocations: 1.037 MB / 0.8806 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.006734, allocations: 8.594 kB / 0.8806 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.964e-05/0.006803, allocations: 25.64 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.007213, allocations: 94.56 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.007701, allocations: 191.5 kB / 0.8809 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.008129, allocations: 306.6 kB / 0.8812 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.008312, allocations: 45.83 kB / 0.8812 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.008545, allocations: 155.6 kB / 0.8814 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.008785, allocations: 108.7 kB / 0.8815 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.008834, allocations: 20 kB / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.009331, allocations: 283.6 kB / 0.8818 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.009407, allocations: 48.86 kB / 0.8818 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.009523, allocations: 75.81 kB / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008761/0.0104, allocations: 362.7 kB / 0.8822 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.0104, allocations: 1.125 kB / 0.8822 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.313e-06/0.01041, allocations: 0 / 0.8822 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.01041, allocations: 0 / 0.8822 GB, free: 1.746 MB / 0.8386 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.00124/0.01165, allocations: 0.6462 MB / 0.8829 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.0117, allocations: 12.8 kB / 0.8829 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.012, allocations: 49.62 kB / 0.8829 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.01241, allocations: 242.1 kB / 0.8832 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.01244, allocations: 16.66 kB / 0.8832 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.01247, allocations: 12.38 kB / 0.8832 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.01298, allocations: 234.7 kB / 0.8834 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.01299, allocations: 0 / 0.8834 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.01301, allocations: 4 kB / 0.8834 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.01302, allocations: 4.75 kB / 0.8834 GB, free: 460 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.0135, allocations: 155.8 kB / 0.8836 GB, free: 308 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.01502, allocations: 1.134 MB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.01576, allocations: 234.8 kB / 0.8849 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.01601, allocations: 91.31 kB / 0.885 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.01605, allocations: 4 kB / 0.885 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.01609, allocations: 41.27 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.01609, allocations: 0 / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0009307/0.01702, allocations: 281.6 kB / 0.8853 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.0171, allocations: 85.05 kB / 0.8854 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.01752, allocations: 346.3 kB / 0.8857 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.01755, allocations: 25.7 kB / 0.8857 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.01777, allocations: 223 kB / 0.886 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.01784, allocations: 55.55 kB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01794, allocations: 51.36 kB / 0.8861 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003164/0.01825, allocations: 0.5157 MB / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.01848, allocations: 63.95 kB / 0.8866 GB, free: 13 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.01877, allocations: 140.8 kB / 0.8868 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.0193, allocations: 221.6 kB / 0.887 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0193, allocations: 4 kB / 0.887 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006913/0.01999, allocations: 265.7 kB / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.02001, allocations: 4 kB / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.02002, allocations: 4 kB / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.02004, allocations: 0 / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.02029, allocations: 56.06 kB / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.02029, allocations: 0 / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.02047, allocations: 31.81 kB / 0.8873 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.02049, allocations: 12 kB / 0.8873 GB, free: 12.22 MB / 0.8542 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.0001744/0.02067, allocations: 176.5 kB / 0.8875 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.02081, allocations: 43.75 kB / 0.8875 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/0.02148, allocations: 243.4 kB / 0.8878 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.02148, allocations: 4 kB / 0.8878 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02149, allocations: 0 / 0.8878 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.02149, allocations: 0 / 0.8878 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.02188, allocations: 240.4 kB / 0.888 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.02189, allocations: 3.938 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.0221, allocations: 39.97 kB / 0.888 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.0221, allocations: 0 / 0.888 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.02213, allocations: 11.94 kB / 0.8881 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.02213, allocations: 4 kB / 0.8881 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02213, allocations: 0 / 0.8881 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008468/0.02297, allocations: 0.4893 MB / 0.8885 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.02303, allocations: 27.8 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.02307, allocations: 11.94 kB / 0.8886 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.02327, allocations: 19.92 kB / 0.8886 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.02336, allocations: 15.97 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.02338, allocations: 4 kB / 0.8886 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002688/0.02365, allocations: 247 kB / 0.8888 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02365, allocations: 0 / 0.8888 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003599/0.02401, allocations: 59.89 kB / 0.8889 GB, free: 10.53 MB / 0.8542 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.0006533/0.02466, allocations: 119.1 kB / 0.889 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006027/0.02526, allocations: 191.7 kB / 0.8892 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.02527, allocations: 8.062 kB / 0.8892 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.02555, allocations: 103.6 kB / 0.8893 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.02612, allocations: 77.64 kB / 0.8894 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.02711, allocations: 458.7 kB / 0.8898 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.02729, allocations: 142.7 kB / 0.89 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.02743, allocations: 38.41 kB / 0.89 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.02751, allocations: 28.5 kB / 0.89 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/0.02751, allocations: 4 kB / 0.89 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of Templates: time 0.01028/0.0378, allocations: 4.265 MB / 0.8942 GB, free: 5.16 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.298585034906864]