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.0007746/0.0007746, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001847, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006998/0.0006998, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000953/0.001653, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.96/0.96, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08581/1.046, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.783/1.783, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4262/2.21, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.371e-05, allocations: 8.844 kB / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002112/0.002126, allocations: 2.207 MB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.003473, allocations: 1.067 MB / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.003554, allocations: 7.938 kB / 0.7329 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.003592, allocations: 24.36 kB / 0.7329 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.003728, allocations: 87.67 kB / 0.733 GB, free: 1 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.00399, allocations: 177.1 kB / 0.7332 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.004203, allocations: 303.5 kB / 0.7335 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.004317, allocations: 42.88 kB / 0.7335 GB, free: 500 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.00449, allocations: 190.4 kB / 0.7337 GB, free: 308 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.004618, allocations: 108.4 kB / 0.7338 GB, free: 200 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.004645, allocations: 20 kB / 0.7338 GB, free: 180 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.004965, allocations: 305.3 kB / 0.7341 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.004996, allocations: 35.81 kB / 0.7341 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.005045, allocations: 63.81 kB / 0.7342 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.005295, allocations: 251 kB / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.005305, allocations: 0.6562 kB / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005306, allocations: 0 / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.005316, allocations: 0.9375 kB / 0.7345 GB, free: 15.54 MB / 0.7136 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.0005966/0.005912, allocations: 0.5716 MB / 0.735 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.00594, allocations: 8.562 kB / 0.735 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.006118, allocations: 122.9 kB / 0.7351 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.006315, allocations: 207.4 kB / 0.7353 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.006325, allocations: 12.66 kB / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.006342, allocations: 12.38 kB / 0.7354 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.006542, allocations: 186.7 kB / 0.7355 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.006548, allocations: 192 / 0.7355 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.00656, allocations: 9.312 kB / 0.7355 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.006566, allocations: 7.938 kB / 0.7356 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.006638, allocations: 52.36 kB / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.007154, allocations: 0.7104 MB / 0.7363 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.007425, allocations: 151.3 kB / 0.7364 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.007461, allocations: 30.02 kB / 0.7365 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.007478, allocations: 4 kB / 0.7365 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.007498, allocations: 39.77 kB / 0.7365 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.007499, allocations: 0 / 0.7365 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002079/0.007707, allocations: 105.6 kB / 0.7366 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.007735, allocations: 82.02 kB / 0.7367 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.007865, allocations: 250.9 kB / 0.7369 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.007879, allocations: 30.45 kB / 0.737 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.007934, allocations: 136.8 kB / 0.7371 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.007961, allocations: 60.22 kB / 0.7371 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.008005, allocations: 41.69 kB / 0.7372 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.00808, allocations: 340 kB / 0.7375 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.008111, allocations: 15.98 kB / 0.7375 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.008166, allocations: 68.42 kB / 0.7376 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.648e-05/0.008263, allocations: 113.3 kB / 0.7377 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008265, allocations: 0 / 0.7377 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001595/0.008424, allocations: 129.4 kB / 0.7378 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.008435, allocations: 6.438 kB / 0.7378 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.008441, allocations: 7.938 kB / 0.7378 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.008451, allocations: 0 / 0.7378 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.008577, allocations: 55.95 kB / 0.7379 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.008584, allocations: 11.88 kB / 0.7379 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.008659, allocations: 29.59 kB / 0.7379 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.008667, allocations: 8 kB / 0.7379 GB, free: 11.72 MB / 0.7136 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 6.712e-05/0.008735, allocations: 121.8 kB / 0.7381 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.008795, allocations: 19.94 kB / 0.7381 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.008952, allocations: 141 kB / 0.7382 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.008956, allocations: 4.938 kB / 0.7382 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008957, allocations: 0 / 0.7382 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.008962, allocations: 7.922 kB / 0.7382 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.009124, allocations: 139.1 kB / 0.7383 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.009125, allocations: 0 / 0.7383 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.009227, allocations: 50.72 kB / 0.7384 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.009247, allocations: 27.73 kB / 0.7384 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.009248, allocations: 4 kB / 0.7384 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.009255, allocations: 0 / 0.7384 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.009257, allocations: 4 kB / 0.7384 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009258, allocations: 0 / 0.7384 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.009429, allocations: 284.7 kB / 0.7387 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.009449, allocations: 8 kB / 0.7387 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.00954, allocations: 14.33 kB / 0.7387 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.009584, allocations: 23.91 kB / 0.7387 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.009591, allocations: 4 kB / 0.7388 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.00965, allocations: 88.64 kB / 0.7388 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00965, allocations: 0 / 0.7388 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001985/0.009849, allocations: 63.83 kB / 0.7389 GB, free: 10.69 MB / 0.7136 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.0001273/0.009976, allocations: 102.7 kB / 0.739 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.0101, allocations: 80.7 kB / 0.7391 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.01011, allocations: 8.859 kB / 0.7391 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.01018, allocations: 64.7 kB / 0.7391 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.01092, allocations: 0.8186 MB / 0.7399 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.01223, allocations: 458.2 kB / 0.7404 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.01228, allocations: 85.31 kB / 0.7405 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.286e-05/0.01237, allocations: 33.12 kB / 0.7405 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.01253, allocations: 121.3 kB / 0.7406 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/0.01253, allocations: 4 kB / 0.7406 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of Templates: time 0.006044/0.01858, allocations: 4.725 MB / 0.7452 GB, free: 4.234 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.632648226805031]