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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 186.4 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.188/3.188, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002128/0.002128, allocations: 59.72 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3709, allocations: 174.9 MB / 1.316 GB, free: 9.691 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003994/0.3749, allocations: 2.178 MB / 1.318 GB, free: 7.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3768, allocations: 1.063 MB / 1.319 GB, free: 6.434 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3769, allocations: 7.938 kB / 1.319 GB, free: 6.426 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.706e-05/0.3769, allocations: 27.67 kB / 1.319 GB, free: 6.398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.3773, allocations: 79.28 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.3778, allocations: 195.5 kB / 1.32 GB, free: 6.129 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.3781, allocations: 286.9 kB / 1.32 GB, free: 5.848 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.3783, allocations: 60.75 kB / 1.32 GB, free: 5.781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.3785, allocations: 111.5 kB / 1.32 GB, free: 5.672 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.3787, allocations: 139.4 kB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.3787, allocations: 20 kB / 1.32 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.3792, allocations: 303.6 kB / 1.32 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.3793, allocations: 43.78 kB / 1.32 GB, free: 5.176 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3794, allocations: 119.3 kB / 1.321 GB, free: 5.059 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.3799, allocations: 334.5 kB / 1.321 GB, free: 4.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3799, allocations: 0 / 1.321 GB, free: 4.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3799, allocations: 0 / 1.321 GB, free: 4.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.3799, allocations: 0 / 1.321 GB, free: 4.73 MB / 1.014 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.001246/0.3811, allocations: 0.5709 MB / 1.321 GB, free: 4.125 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3812, allocations: 8.031 kB / 1.321 GB, free: 4.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.3814, allocations: 36.75 kB / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.3819, allocations: 217.5 kB / 1.322 GB, free: 3.848 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.3819, allocations: 16.59 kB / 1.322 GB, free: 3.832 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3819, allocations: 12.38 kB / 1.322 GB, free: 3.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.3825, allocations: 242 kB / 1.322 GB, free: 3.562 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3825, allocations: 0 / 1.322 GB, free: 3.562 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3826, allocations: 12 kB / 1.322 GB, free: 3.551 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3826, allocations: 11.88 kB / 1.322 GB, free: 3.539 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.3833, allocations: 195 kB / 1.322 GB, free: 3.352 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.3847, allocations: 0.9141 MB / 1.323 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/0.3856, allocations: 229.2 kB / 1.323 GB, free: 2.133 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.3859, allocations: 105.6 kB / 1.323 GB, free: 2.023 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.386, allocations: 7.938 kB / 1.323 GB, free: 2.016 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.386, allocations: 34.56 kB / 1.323 GB, free: 1.973 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.386, allocations: 0 / 1.323 GB, free: 1.973 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.001321/0.3873, allocations: 338 kB / 1.324 GB, free: 1.637 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.3874, allocations: 77.11 kB / 1.324 GB, free: 1.543 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.3877, allocations: 268.2 kB / 1.324 GB, free: 1.277 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3878, allocations: 33.7 kB / 1.324 GB, free: 1.238 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3879, allocations: 160.3 kB / 1.324 GB, free: 1.078 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.388, allocations: 55.48 kB / 1.324 GB, free: 1.023 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.388, allocations: 41.7 kB / 1.324 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3882, allocations: 334.8 kB / 1.325 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.3886, allocations: 95.92 kB / 1.325 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.389, allocations: 147.5 kB / 1.325 GB, free: 392 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.3897, allocations: 241.9 kB / 1.325 GB, free: 128 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3897, allocations: 4 kB / 1.325 GB, free: 124 kB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009324/0.3907, allocations: 301.1 kB / 1.325 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3907, allocations: 8 kB / 1.325 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3907, allocations: 0 / 1.325 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3907, allocations: 4 kB / 1.325 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.391, allocations: 59.89 kB / 1.325 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.391, allocations: 0 / 1.325 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.3913, allocations: 47.97 kB / 1.326 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3913, allocations: 4 kB / 1.326 GB, free: 15.7 MB / 1.029 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.000149/0.3915, allocations: 137.7 kB / 1.326 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3916, allocations: 31.75 kB / 1.326 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009483/0.3926, allocations: 291.1 kB / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3926, allocations: 0 / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3926, allocations: 4 kB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3926, allocations: 0 / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.393, allocations: 268.5 kB / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.393, allocations: 0 / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.3933, allocations: 60.17 kB / 1.326 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3933, allocations: 0 / 1.326 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3933, allocations: 4 kB / 1.326 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3933, allocations: 7.938 kB / 1.326 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.3933, allocations: 3.938 kB / 1.326 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009614/0.3943, allocations: 434.4 kB / 1.327 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.3943, allocations: 35.73 kB / 1.327 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.3944, allocations: 8 kB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.3947, allocations: 27.97 kB / 1.327 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.3948, allocations: 19.97 kB / 1.327 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3948, allocations: 7.984 kB / 1.327 GB, free: 14.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002039/0.395, allocations: 191.1 kB / 1.327 GB, free: 14.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.395, allocations: 0 / 1.327 GB, free: 14.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003896/0.3954, allocations: 59.89 kB / 1.327 GB, free: 14.06 MB / 1.029 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.0002024/0.3956, allocations: 119.6 kB / 1.327 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008503/0.3964, allocations: 219.7 kB / 1.327 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3964, allocations: 0 / 1.327 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.3968, allocations: 120.2 kB / 1.327 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.3974, allocations: 83.23 kB / 1.328 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.3983, allocations: 439 kB / 1.328 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3988, allocations: 0.7519 MB / 1.329 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.3989, allocations: 26.28 kB / 1.329 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.399, allocations: 31.44 kB / 1.329 GB, free: 12.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.399, allocations: 0 / 1.329 GB, free: 12.23 MB / 1.029 GB Notification: Performance of Templates: time 0.009373/0.4084, allocations: 4.097 MB / 1.333 GB, free: 8.203 MB / 1.029 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: 9.110571518540382]