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.001953/0.001953, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.002567/0.002567, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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 2.943/2.943, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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.884e-06/1.884e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.771e-05, allocations: 9.734 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003612/0.00365, allocations: 2.076 MB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.005668, allocations: 1.013 MB / 1.003 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.005795, allocations: 7.938 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.513e-05/0.00586, allocations: 23.67 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.006243, allocations: 91.09 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.006752, allocations: 197 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.007179, allocations: 298.6 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.007367, allocations: 52.88 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.007613, allocations: 155.5 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.007859, allocations: 107.7 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.007907, allocations: 24 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.008378, allocations: 279.6 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.008448, allocations: 51.75 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.008557, allocations: 75.83 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.00908, allocations: 370.8 kB / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.009086, allocations: 0 / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.009087, allocations: 0 / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.009092, allocations: 0 / 1.005 GB, free: 2.449 MB / 0.9512 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.001265/0.01036, allocations: 0.5554 MB / 1.005 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.0104, allocations: 15.97 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.01066, allocations: 40.73 kB / 1.005 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.01113, allocations: 220.7 kB / 1.006 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.01116, allocations: 16.66 kB / 1.006 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.01119, allocations: 16.31 kB / 1.006 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/0.0118, allocations: 228.8 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01181, allocations: 7.984 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.01183, allocations: 4 kB / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.01184, allocations: 4 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007092/0.01255, allocations: 199.7 kB / 1.006 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01378, allocations: 0.8251 MB / 1.007 GB, free: 208 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.01465, allocations: 233.4 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.01502, allocations: 105.6 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.01505, allocations: 3.938 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.01508, allocations: 42.48 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.01509, allocations: 0 / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.001317/0.0164, allocations: 341.2 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.01648, allocations: 85.11 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.01679, allocations: 260.2 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.01681, allocations: 29.69 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.01696, allocations: 164.3 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.01701, allocations: 55.55 kB / 1.008 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.01709, allocations: 41.7 kB / 1.008 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.01728, allocations: 334.8 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.01764, allocations: 95.91 kB / 1.009 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.01803, allocations: 133.9 kB / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.01879, allocations: 237.7 kB / 1.009 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01879, allocations: 0 / 1.009 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000947/0.01974, allocations: 305.1 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.01975, allocations: 4 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01976, allocations: 4 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01978, allocations: 0 / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.02011, allocations: 68.03 kB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.02012, allocations: 4.703 kB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.02037, allocations: 39.8 kB / 1.009 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.02039, allocations: 8 kB / 1.009 GB, free: 13.52 MB / 0.9669 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.000136/0.02052, allocations: 130.3 kB / 1.01 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.02066, allocations: 35.75 kB / 1.01 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/0.02158, allocations: 295.2 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.02158, allocations: 4 kB / 1.01 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02159, allocations: 0 / 1.01 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.0216, allocations: 7.922 kB / 1.01 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.02195, allocations: 209.1 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02195, allocations: 0 / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.02223, allocations: 55.95 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.02223, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.02225, allocations: 7.938 kB / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.02225, allocations: 0 / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02225, allocations: 0 / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/0.02321, allocations: 442.4 kB / 1.011 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.02326, allocations: 23.81 kB / 1.011 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.0233, allocations: 7.938 kB / 1.011 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.02358, allocations: 35.89 kB / 1.011 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.02366, allocations: 15.97 kB / 1.011 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.02367, allocations: 8 kB / 1.011 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000197/0.02387, allocations: 191.1 kB / 1.011 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.02387, allocations: 0 / 1.011 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003774/0.02425, allocations: 55.94 kB / 1.011 GB, free: 11.96 MB / 0.9669 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.0002365/0.02448, allocations: 115.1 kB / 1.011 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008225/0.02531, allocations: 223.6 kB / 1.011 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.02531, allocations: 4 kB / 1.011 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.0257, allocations: 112.7 kB / 1.011 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.02627, allocations: 76.95 kB / 1.011 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.02716, allocations: 443.9 kB / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.02731, allocations: 146.9 kB / 1.012 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.02743, allocations: 26.44 kB / 1.012 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.02751, allocations: 24.5 kB / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.02751, allocations: 0 / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.009383/0.0369, allocations: 4.234 MB / 1.016 GB, free: 6.625 MB / 0.9669 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: 8.415610864758492]