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.0007319/0.0007319, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.00178, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007998/0.0007998, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000906/0.001706, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8682/0.8682, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0783/0.9465, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.223/2.223, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2239/2.447, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.543e-06/1.543e-06, allocations: 0 / 0.8184 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.427e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003018/0.003032, allocations: 2.199 MB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.004612, allocations: 1.075 MB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.004715, allocations: 7.938 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.004767, allocations: 23.67 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.004964, allocations: 87.16 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.005329, allocations: 171.5 kB / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.005644, allocations: 306.5 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.00578, allocations: 38.89 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.006037, allocations: 197.7 kB / 0.8223 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.006222, allocations: 119.6 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.006258, allocations: 16 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.00672, allocations: 307.6 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/0.006757, allocations: 31.88 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.006832, allocations: 59.81 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.007181, allocations: 259 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.494e-05/0.007196, allocations: 0 / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.007196, allocations: 0 / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.007214, allocations: 0 / 0.8231 GB, free: 13.95 MB / 0.8073 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.0007937/0.008007, allocations: 0.5654 MB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.008041, allocations: 12.62 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.008272, allocations: 122 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.008546, allocations: 212.7 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.008561, allocations: 8.656 kB / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.008582, allocations: 16.38 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.008865, allocations: 190.1 kB / 0.8242 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.008876, allocations: 3.938 kB / 0.8242 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.008891, allocations: 4 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.008898, allocations: 4 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.009005, allocations: 47.89 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.009715, allocations: 0.7037 MB / 0.8249 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.0101, allocations: 145 kB / 0.8251 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.01016, allocations: 34.02 kB / 0.8251 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.01018, allocations: 11.98 kB / 0.8251 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.01021, allocations: 38.5 kB / 0.8252 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.01021, allocations: 0 / 0.8252 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003194/0.01053, allocations: 114 kB / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.01057, allocations: 81.09 kB / 0.8253 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.01077, allocations: 247 kB / 0.8256 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.01079, allocations: 25.7 kB / 0.8256 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.01086, allocations: 144.8 kB / 0.8257 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.01091, allocations: 51.58 kB / 0.8258 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.01097, allocations: 49.5 kB / 0.8258 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.01109, allocations: 346.7 kB / 0.8262 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.01114, allocations: 19.98 kB / 0.8262 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.01124, allocations: 61.98 kB / 0.8262 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.01145, allocations: 102 kB / 0.8263 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01145, allocations: 0 / 0.8263 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003166/0.01177, allocations: 133.5 kB / 0.8265 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01178, allocations: 4 kB / 0.8265 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01179, allocations: 3.938 kB / 0.8265 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01181, allocations: 4 kB / 0.8265 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.01207, allocations: 59.89 kB / 0.8265 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.01207, allocations: 4 kB / 0.8265 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.01222, allocations: 27.88 kB / 0.8266 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.01224, allocations: 4 kB / 0.8266 GB, free: 10.12 MB / 0.8073 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.0001144/0.01235, allocations: 125.8 kB / 0.8267 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.01246, allocations: 23.98 kB / 0.8267 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.01262, allocations: 139.3 kB / 0.8268 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01262, allocations: 0 / 0.8268 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.01263, allocations: 4 kB / 0.8268 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01263, allocations: 0 / 0.8268 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.01279, allocations: 141.7 kB / 0.827 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01279, allocations: 0 / 0.827 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.01289, allocations: 43.92 kB / 0.827 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.01292, allocations: 35.73 kB / 0.8271 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01292, allocations: 4 kB / 0.8271 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.01293, allocations: 4 kB / 0.8271 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01293, allocations: 3.938 kB / 0.8271 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01293, allocations: 0 / 0.8271 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.01311, allocations: 282.7 kB / 0.8273 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.01313, allocations: 4 kB / 0.8273 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.01322, allocations: 15.98 kB / 0.8274 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.01327, allocations: 27.89 kB / 0.8274 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.01327, allocations: 4 kB / 0.8274 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.957e-05/0.01333, allocations: 88.64 kB / 0.8275 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01333, allocations: 4 kB / 0.8275 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001886/0.01352, allocations: 51.94 kB / 0.8275 GB, free: 9.086 MB / 0.8073 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.0001208/0.01364, allocations: 114.7 kB / 0.8276 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.01376, allocations: 83.75 kB / 0.8277 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.01377, allocations: 8 kB / 0.8277 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.01382, allocations: 48.69 kB / 0.8278 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.01412, allocations: 109.5 kB / 0.8279 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.01541, allocations: 447.8 kB / 0.8283 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.718e-05/0.01546, allocations: 84.56 kB / 0.8284 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.01554, allocations: 30.28 kB / 0.8284 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.01568, allocations: 121.3 kB / 0.8285 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of SimCode: time 4.7e-07/0.01568, allocations: 0 / 0.8285 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of Templates: time 0.005575/0.02126, allocations: 4.624 MB / 0.833 GB, free: 3.496 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.805183340795338]