Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001669/0.001669, 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.001911/0.001911, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.467/1.467, allocations: 225.6 MB / 251 MB, free: 13.02 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.293/3.293, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 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.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.27 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3687, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007607/0.3763, allocations: 4.64 MB / 1.321 GB, free: 5.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3778, allocations: 0.8255 MB / 1.321 GB, free: 4.203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3779, allocations: 0 / 1.321 GB, free: 4.203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.3781, allocations: 35.77 kB / 1.321 GB, free: 4.168 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3782, allocations: 35.7 kB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.3789, allocations: 179.4 kB / 1.322 GB, free: 3.957 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.3791, allocations: 171.4 kB / 1.322 GB, free: 3.789 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.3792, allocations: 13.3 kB / 1.322 GB, free: 3.777 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.3794, allocations: 91.69 kB / 1.322 GB, free: 3.688 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3796, allocations: 79.66 kB / 1.322 GB, free: 3.609 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.3796, allocations: 12 kB / 1.322 GB, free: 3.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.38, allocations: 155.8 kB / 1.322 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.38, allocations: 27.91 kB / 1.322 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.161e-05/0.3801, allocations: 71.64 kB / 1.322 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.3805, allocations: 239.2 kB / 1.322 GB, free: 3.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3805, allocations: 0 / 1.322 GB, free: 3.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3805, allocations: 0 / 1.322 GB, free: 3.113 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3805, allocations: 0 / 1.322 GB, free: 3.113 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009405/0.3815, allocations: 421.3 kB / 1.323 GB, free: 2.672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3815, allocations: 8.031 kB / 1.323 GB, free: 2.664 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.3816, allocations: 16.84 kB / 1.323 GB, free: 2.648 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3817, allocations: 122.4 kB / 1.323 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3817, allocations: 8.375 kB / 1.323 GB, free: 2.496 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3818, allocations: 16.38 kB / 1.323 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.3821, allocations: 127.4 kB / 1.323 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3821, allocations: 0 / 1.323 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3822, allocations: 0 / 1.323 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3822, allocations: 0 / 1.323 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.3826, allocations: 151.8 kB / 1.323 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.3837, allocations: 423.6 kB / 1.324 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.384, allocations: 122.5 kB / 1.324 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.3842, allocations: 68.8 kB / 1.324 GB, free: 1.547 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.3854, allocations: 0.4922 MB / 1.324 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.3854, allocations: 38.56 kB / 1.324 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.3854, allocations: 0 / 1.324 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0007524/0.3862, allocations: 205.5 kB / 1.325 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3862, allocations: 51.41 kB / 1.325 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3864, allocations: 172.6 kB / 1.325 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3864, allocations: 25.7 kB / 1.325 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.3865, allocations: 112.4 kB / 1.325 GB, free: 404 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.3865, allocations: 39.64 kB / 1.325 GB, free: 364 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.3866, allocations: 53.69 kB / 1.325 GB, free: 304 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3868, allocations: 322.8 kB / 1.325 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.387, allocations: 79.89 kB / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.3873, allocations: 117.2 kB / 1.326 GB, free: 15.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.3877, allocations: 168.9 kB / 1.326 GB, free: 15.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3877, allocations: 4 kB / 1.326 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006052/0.3884, allocations: 243.3 kB / 1.326 GB, free: 15.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3884, allocations: 12.09 kB / 1.326 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3884, allocations: 0 / 1.326 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3884, allocations: 3.938 kB / 1.326 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.3887, allocations: 55.89 kB / 1.326 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3887, allocations: 4 kB / 1.326 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.3889, allocations: 27.88 kB / 1.326 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.3889, allocations: 8 kB / 1.326 GB, free: 15.24 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001276/0.389, allocations: 133.7 kB / 1.326 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.389, allocations: 11.91 kB / 1.326 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.3896, allocations: 174.9 kB / 1.326 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3896, allocations: 7.938 kB / 1.326 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3896, allocations: 0 / 1.326 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3896, allocations: 0 / 1.326 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.3899, allocations: 184.6 kB / 1.327 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3899, allocations: 15.97 kB / 1.327 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.39, allocations: 35.92 kB / 1.327 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.39, allocations: 0 / 1.327 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3901, allocations: 3.938 kB / 1.327 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3901, allocations: 4 kB / 1.327 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3901, allocations: 3.984 kB / 1.327 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.3905, allocations: 248 kB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.3906, allocations: 23.95 kB / 1.327 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3906, allocations: 11.94 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.3908, allocations: 7.984 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.3908, allocations: 15.92 kB / 1.327 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3908, allocations: 7.984 kB / 1.327 GB, free: 14.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.34e-05/0.3909, allocations: 110.5 kB / 1.327 GB, free: 14.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3909, allocations: 4 kB / 1.327 GB, free: 14.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003504/0.3913, allocations: 67.8 kB / 1.327 GB, free: 14.12 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.0003118/0.3916, allocations: 155.6 kB / 1.327 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000522/0.3921, allocations: 163.9 kB / 1.327 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3921, allocations: 0 / 1.327 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.3923, allocations: 59.89 kB / 1.327 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.3927, allocations: 28.11 kB / 1.327 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.3932, allocations: 257.2 kB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3936, allocations: 0.7006 MB / 1.328 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.61e-05/0.3937, allocations: 17.08 kB / 1.328 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.3937, allocations: 23.44 kB / 1.328 GB, free: 12.66 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3937, allocations: 7.938 kB / 1.328 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Templates: time 0.007021/0.4008, allocations: 2.822 MB / 1.331 GB, free: 9.859 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.180178571492434]