Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.00185, allocations: 182.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.8701, allocations: 142.4 MB / 0.9557 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005465/0.8756, allocations: 4.237 MB / 0.9599 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.8768, allocations: 0.8118 MB / 0.9606 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.8769, allocations: 4.969 kB / 0.9607 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.8771, allocations: 24.23 kB / 0.9607 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.8772, allocations: 27.23 kB / 0.9607 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.8777, allocations: 148.9 kB / 0.9608 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.8779, allocations: 165.8 kB / 0.961 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.878, allocations: 24.56 kB / 0.961 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.8782, allocations: 72.64 kB / 0.9611 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.8784, allocations: 76.53 kB / 0.9612 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.8784, allocations: 6.875 kB / 0.9612 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.8788, allocations: 141.9 kB / 0.9613 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.8788, allocations: 29.39 kB / 0.9613 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.8789, allocations: 80.67 kB / 0.9614 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.8792, allocations: 174 kB / 0.9616 GB, free: 3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8792, allocations: 0 / 0.9616 GB, free: 3 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8792, allocations: 0 / 0.9616 GB, free: 3 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8792, allocations: 1.375 kB / 0.9616 GB, free: 3 MB / 0.7169 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.000864/0.8801, allocations: 467.6 kB / 0.962 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.8801, allocations: 9.625 kB / 0.962 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.8802, allocations: 11.72 kB / 0.962 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.8803, allocations: 183 kB / 0.9622 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.8804, allocations: 8.5 kB / 0.9622 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.8804, allocations: 20.19 kB / 0.9622 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.8808, allocations: 131.3 kB / 0.9624 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.8808, allocations: 0 / 0.9624 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.8808, allocations: 1.375 kB / 0.9624 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.8809, allocations: 1.375 kB / 0.9624 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.8814, allocations: 171.7 kB / 0.9625 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.8825, allocations: 467.4 kB / 0.963 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.8828, allocations: 139 kB / 0.9631 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.8831, allocations: 86.19 kB / 0.9632 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.8843, allocations: 0.9664 MB / 0.9641 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.8844, allocations: 35.59 kB / 0.9642 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.8844, allocations: 1.312 kB / 0.9642 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0007684/0.8852, allocations: 246.3 kB / 0.9644 GB, free: 488 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.8852, allocations: 57.36 kB / 0.9645 GB, free: 420 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.8854, allocations: 163.4 kB / 0.9646 GB, free: 284 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.8854, allocations: 30.67 kB / 0.9647 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.8855, allocations: 108.8 kB / 0.9648 GB, free: 140 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.8855, allocations: 36.27 kB / 0.9648 GB, free: 108 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.8856, allocations: 33.83 kB / 0.9648 GB, free: 76 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8857, allocations: 326 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.886, allocations: 82.67 kB / 0.9652 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.8863, allocations: 133.7 kB / 0.9653 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.8868, allocations: 191.6 kB / 0.9655 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8868, allocations: 5.031 kB / 0.9655 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000631/0.8875, allocations: 263.4 kB / 0.9658 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.8875, allocations: 9.969 kB / 0.9658 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8875, allocations: 1.281 kB / 0.9658 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8875, allocations: 1.125 kB / 0.9658 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.8878, allocations: 62.09 kB / 0.9659 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8879, allocations: 6.328 kB / 0.9659 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.888, allocations: 35.64 kB / 0.9659 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.8881, allocations: 14.38 kB / 0.9659 GB, free: 15.35 MB / 0.7325 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.0001147/0.8882, allocations: 123 kB / 0.966 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.8882, allocations: 16.97 kB / 0.966 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.8888, allocations: 200 kB / 0.9662 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8888, allocations: 1.219 kB / 0.9662 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8888, allocations: 5.25 kB / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.8889, allocations: 0 / 0.9662 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.8891, allocations: 214.1 kB / 0.9664 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8891, allocations: 0 / 0.9664 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.8893, allocations: 39.05 kB / 0.9665 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.8893, allocations: 4.969 kB / 0.9665 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.8893, allocations: 0.9688 kB / 0.9665 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8893, allocations: 0 / 0.9665 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8894, allocations: 8.984 kB / 0.9665 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.8899, allocations: 281.2 kB / 0.9668 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.89, allocations: 104.5 kB / 0.9669 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.89, allocations: 3.75 kB / 0.9669 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.8901, allocations: 14.42 kB / 0.9669 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.8902, allocations: 11.8 kB / 0.9669 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.8902, allocations: 10.75 kB / 0.9669 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001039/0.8903, allocations: 118.3 kB / 0.967 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8903, allocations: 0 / 0.967 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003964/0.8907, allocations: 59.55 kB / 0.9671 GB, free: 14.39 MB / 0.7325 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.0003838/0.8911, allocations: 164.6 kB / 0.9672 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.8917, allocations: 190.3 kB / 0.9674 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.8918, allocations: 5.031 kB / 0.9674 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.892, allocations: 83.98 kB / 0.9675 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.8924, allocations: 18.14 kB / 0.9675 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.8931, allocations: 326 kB / 0.9678 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.8934, allocations: 0.7034 MB / 0.9685 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.8935, allocations: 24.14 kB / 0.9685 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.8935, allocations: 0 / 0.9685 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.005692/0.8992, allocations: 2.53 MB / 0.971 GB, free: 11.85 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches