Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001631/0.001631, allocations: 118.3 kB / 17.13 MB, free: 5.918 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.001631/0.001631, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.498/1.498, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.89 kB / 1.057 GB, free: 1.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3587, allocations: 160.7 MB / 1.214 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007975/0.3667, allocations: 4.611 MB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3679, allocations: 0.8186 MB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.368, allocations: 4 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3682, allocations: 31.77 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.3683, allocations: 27.72 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.3688, allocations: 175.3 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.3691, allocations: 183.3 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.3691, allocations: 9.109 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.3694, allocations: 83.75 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3695, allocations: 75.73 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.3695, allocations: 12 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.3699, allocations: 163.7 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.3699, allocations: 31.84 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.37, allocations: 67.7 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3704, allocations: 239.2 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3704, allocations: 0 / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3704, allocations: 0 / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3704, allocations: 0 / 1.22 GB, free: 10.34 MB / 0.9669 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.0009999/0.3714, allocations: 490.5 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3715, allocations: 8.031 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.3715, allocations: 12.89 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.3717, allocations: 184 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3717, allocations: 8.375 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.3718, allocations: 16.31 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.3721, allocations: 129.6 kB / 1.221 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3721, allocations: 4 kB / 1.221 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3721, allocations: 0 / 1.221 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3721, allocations: 4 kB / 1.221 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.3726, allocations: 139.9 kB / 1.221 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3737, allocations: 468.4 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.374, allocations: 122.5 kB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3742, allocations: 60.81 kB / 1.222 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/0.3757, allocations: 0.9605 MB / 1.223 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3757, allocations: 34.56 kB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3757, allocations: 4 kB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0007375/0.3765, allocations: 217.3 kB / 1.223 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3765, allocations: 51.41 kB / 1.223 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3767, allocations: 172.7 kB / 1.223 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.3767, allocations: 29.7 kB / 1.223 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.3768, allocations: 108.4 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.3769, allocations: 43.62 kB / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.377, allocations: 57.62 kB / 1.224 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3771, allocations: 326.8 kB / 1.224 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.3774, allocations: 67.95 kB / 1.224 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3776, allocations: 115.4 kB / 1.224 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.3781, allocations: 170.8 kB / 1.224 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3781, allocations: 4 kB / 1.224 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005938/0.3787, allocations: 237.3 kB / 1.225 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3787, allocations: 4 kB / 1.225 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3787, allocations: 4 kB / 1.225 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3787, allocations: 3.938 kB / 1.225 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.379, allocations: 56.06 kB / 1.225 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.379, allocations: 11.92 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.3792, allocations: 35.81 kB / 1.225 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3792, allocations: 4 kB / 1.225 GB, free: 5.672 MB / 0.9669 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.0001228/0.3793, allocations: 128.6 kB / 1.225 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.3794, allocations: 11.91 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.3799, allocations: 183.2 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3799, allocations: 4 kB / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3799, allocations: 0 / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3799, allocations: 0 / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.3802, allocations: 213.6 kB / 1.225 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3802, allocations: 3.984 kB / 1.225 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3803, allocations: 27.98 kB / 1.225 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3803, allocations: 4 kB / 1.225 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3803, allocations: 3.938 kB / 1.225 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3803, allocations: 0 / 1.225 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3803, allocations: 0 / 1.225 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.3808, allocations: 267.3 kB / 1.225 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.3809, allocations: 104.9 kB / 1.226 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.381, allocations: 7.938 kB / 1.226 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3811, allocations: 15.98 kB / 1.226 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.3812, allocations: 7.984 kB / 1.226 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3812, allocations: 7.938 kB / 1.226 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.55e-05/0.3813, allocations: 116 kB / 1.226 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3813, allocations: 0 / 1.226 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00036/0.3816, allocations: 59.86 kB / 1.226 GB, free: 4.434 MB / 0.9669 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.0003401/0.382, allocations: 163.1 kB / 1.226 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000548/0.3825, allocations: 167.7 kB / 1.226 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3825, allocations: 0 / 1.226 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.3827, allocations: 59.95 kB / 1.226 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.3831, allocations: 17.86 kB / 1.226 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.3837, allocations: 290.8 kB / 1.226 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3841, allocations: 0.7045 MB / 1.227 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.3841, allocations: 19.44 kB / 1.227 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3841, allocations: 0 / 1.227 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of Templates: time 0.005198/0.3893, allocations: 2.577 MB / 1.23 GB, free: 400 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.221973025938496]