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.001526/0.001526, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001839/0.001839, allocations: 220.7 kB / 23.01 MB, free: 4.609 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 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.011/3.011, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: 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.001996/0.001996, allocations: 63.8 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 180.2 MB / 1.354 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003147/0.3111, allocations: 2.19 MB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3128, allocations: 1.091 MB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3129, allocations: 11.88 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.841e-05/0.3129, allocations: 23.72 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.3132, allocations: 83.22 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.3136, allocations: 194.3 kB / 1.358 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.3139, allocations: 302.8 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3141, allocations: 40.86 kB / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3142, allocations: 115.5 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.3144, allocations: 135.4 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.3145, allocations: 20 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.3149, allocations: 299.6 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.3149, allocations: 59.64 kB / 1.359 GB, free: 3.348 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.315, allocations: 115.3 kB / 1.359 GB, free: 3.234 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.3154, allocations: 334.6 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3154, allocations: 4 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3154, allocations: 4 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3154, allocations: 0 / 1.359 GB, free: 2.898 MB / 1.045 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.001034/0.3165, allocations: 0.5554 MB / 1.36 GB, free: 2.309 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3165, allocations: 12.03 kB / 1.36 GB, free: 2.297 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.3167, allocations: 40.69 kB / 1.36 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.3171, allocations: 225.4 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3171, allocations: 12.66 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3171, allocations: 23.94 kB / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.3176, allocations: 224.6 kB / 1.36 GB, free: 1.73 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3176, allocations: 4 kB / 1.36 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3176, allocations: 11.98 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3177, allocations: 4 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.3182, allocations: 191.7 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.3194, allocations: 0.9141 MB / 1.361 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.3201, allocations: 229.4 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.3204, allocations: 105.7 kB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3204, allocations: 4 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3204, allocations: 38.56 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.3204, allocations: 0 / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.001064/0.3215, allocations: 337.2 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3215, allocations: 85.09 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3218, allocations: 264.2 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3218, allocations: 25.7 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3219, allocations: 164.3 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.322, allocations: 55.53 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.3221, allocations: 45.7 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3222, allocations: 334.8 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.3225, allocations: 91.91 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.3228, allocations: 138.9 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.3234, allocations: 250.2 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3234, allocations: 0 / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007505/0.3242, allocations: 301.1 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3242, allocations: 8.156 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3242, allocations: 4 kB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3242, allocations: 4 kB / 1.364 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.3245, allocations: 59.89 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3245, allocations: 3.984 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.3247, allocations: 35.86 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3247, allocations: 8 kB / 1.364 GB, free: 13.87 MB / 1.061 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.0001292/0.3248, allocations: 146.2 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3249, allocations: 39.75 kB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.3257, allocations: 287.1 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3257, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3257, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3257, allocations: 7.984 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.326, allocations: 264.5 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.326, allocations: 0 / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.3263, allocations: 51.95 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3263, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3263, allocations: 8 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.3263, allocations: 8 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3263, allocations: 0 / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007712/0.3271, allocations: 450.5 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.3271, allocations: 31.75 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3272, allocations: 4 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.3274, allocations: 27.95 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.3275, allocations: 19.97 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3275, allocations: 4 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001735/0.3276, allocations: 195.1 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3276, allocations: 0 / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003337/0.328, allocations: 55.94 kB / 1.365 GB, free: 12.22 MB / 1.061 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.0001896/0.3282, allocations: 115.1 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006724/0.3288, allocations: 221.8 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3288, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.3292, allocations: 112.2 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.3297, allocations: 81.58 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.3304, allocations: 488.4 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3308, allocations: 0.748 MB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.3309, allocations: 23.44 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3309, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of Templates: time 0.005769/0.3366, allocations: 3.493 MB / 1.37 GB, free: 6.934 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 10.566933548019733]