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.000825/0.000825, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007827/0.0007827, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.849/0.849, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.732/1.732, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.412e-06/1.412e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.711e-05, allocations: 6.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002507/0.002534, allocations: 2.075 MB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003902, allocations: 1.005 MB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.004019, allocations: 11.94 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.00407, allocations: 27.66 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.004371, allocations: 87.11 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.004779, allocations: 195.5 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.005369, allocations: 302.6 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.005539, allocations: 44.89 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.005712, allocations: 159.5 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.00588, allocations: 111.7 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.00591, allocations: 20 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.006235, allocations: 283.6 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.006276, allocations: 51.77 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.006357, allocations: 71.81 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.006733, allocations: 366.8 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006737, allocations: 0 / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.743e-06/0.006739, allocations: 0 / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.006745, allocations: 0 / 1.006 GB, free: 8.148 MB / 0.9636 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.0007609/0.007506, allocations: 0.5515 MB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.007546, allocations: 12.75 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.007705, allocations: 40.73 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.008059, allocations: 232.6 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.008075, allocations: 12.66 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.008095, allocations: 16.38 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.008444, allocations: 236.7 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.008455, allocations: 3.984 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.008471, allocations: 4 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.008478, allocations: 8 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.008828, allocations: 199.7 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.009603, allocations: 0.8251 MB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.01008, allocations: 233.2 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.01026, allocations: 105.6 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.01029, allocations: 3.938 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.01031, allocations: 38.5 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 3.356e-06/0.01031, allocations: 0 / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0006803/0.01099, allocations: 345.4 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.01104, allocations: 81.11 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.01124, allocations: 260.2 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01126, allocations: 33.7 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01137, allocations: 164.3 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.0114, allocations: 59.53 kB / 1.009 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.01146, allocations: 45.64 kB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.01155, allocations: 330.8 kB / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.01173, allocations: 95.91 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.01193, allocations: 138.5 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.01229, allocations: 237.7 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01229, allocations: 0 / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004662/0.01276, allocations: 301.1 kB / 1.01 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.01278, allocations: 5.562 kB / 1.01 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01279, allocations: 4 kB / 1.01 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.0128, allocations: 0 / 1.01 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.01296, allocations: 63.88 kB / 1.01 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.01296, allocations: 4 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.01308, allocations: 43.92 kB / 1.01 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.0131, allocations: 11.98 kB / 1.01 GB, free: 3.203 MB / 0.9636 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.000101/0.0132, allocations: 129.8 kB / 1.01 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.01327, allocations: 31.75 kB / 1.01 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.01375, allocations: 292 kB / 1.011 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01376, allocations: 4 kB / 1.011 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01376, allocations: 0 / 1.011 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.01377, allocations: 0 / 1.011 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.014, allocations: 209.1 kB / 1.011 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.014, allocations: 3.938 kB / 1.011 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.01412, allocations: 55.95 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01413, allocations: 0 / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01414, allocations: 15.92 kB / 1.011 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01414, allocations: 0 / 1.011 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.01415, allocations: 0 / 1.011 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.01462, allocations: 440.7 kB / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.01466, allocations: 27.8 kB / 1.011 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.01469, allocations: 7.938 kB / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.01481, allocations: 31.91 kB / 1.011 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.01487, allocations: 15.97 kB / 1.011 GB, free: 1.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01488, allocations: 8 kB / 1.011 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001225/0.01501, allocations: 187.1 kB / 1.012 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01501, allocations: 4 kB / 1.012 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002687/0.01527, allocations: 59.94 kB / 1.012 GB, free: 1.648 MB / 0.9636 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.0001992/0.01547, allocations: 119.1 kB / 1.012 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.01591, allocations: 223.9 kB / 1.012 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01591, allocations: 4 kB / 1.012 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.01609, allocations: 107.9 kB / 1.012 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.01649, allocations: 73.58 kB / 1.012 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.01717, allocations: 469.6 kB / 1.013 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.948e-05/0.01726, allocations: 142.9 kB / 1.013 GB, free: 476 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.01733, allocations: 28.44 kB / 1.013 GB, free: 448 kB / 0.9636 GB Notification: Performance of SimCode: time 7.01e-07/0.01733, allocations: 4 kB / 1.013 GB, free: 444 kB / 0.9636 GB Notification: Performance of Templates: time 0.004449/0.02178, allocations: 3.57 MB / 1.016 GB, free: 12.9 MB / 0.9792 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/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: 6.484241880476475]