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.0008663/0.0008663, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009246/0.0009247, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.441 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.454/2.454, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 8 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6812, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00433/0.6856, allocations: 4.093 MB / 0.9584 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000807/0.6864, allocations: 0.7654 MB / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.6865, allocations: 1.156 kB / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.6866, allocations: 27.38 kB / 0.9592 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.6867, allocations: 27.66 kB / 0.9592 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.687, allocations: 124 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.6872, allocations: 161.5 kB / 0.9595 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.6873, allocations: 20.58 kB / 0.9595 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.6874, allocations: 72.19 kB / 0.9596 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.6875, allocations: 68.64 kB / 0.9597 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.6876, allocations: 7.656 kB / 0.9597 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.6878, allocations: 114.3 kB / 0.9598 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.6878, allocations: 29.39 kB / 0.9598 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.6879, allocations: 44.64 kB / 0.9599 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.6881, allocations: 164.6 kB / 0.96 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6881, allocations: 1.375 kB / 0.96 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6881, allocations: 0 / 0.96 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6881, allocations: 0 / 0.96 GB, free: 3.285 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.0006435/0.6888, allocations: 470.1 kB / 0.9605 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6888, allocations: 8.25 kB / 0.9605 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.6888, allocations: 14.77 kB / 0.9605 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.766e-05/0.6889, allocations: 189.7 kB / 0.9607 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.689, allocations: 4.125 kB / 0.9607 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.689, allocations: 16.25 kB / 0.9607 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.6893, allocations: 131.6 kB / 0.9608 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.6893, allocations: 0 / 0.9608 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.6893, allocations: 7.953 kB / 0.9608 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6893, allocations: 2.75 kB / 0.9608 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.6897, allocations: 159.3 kB / 0.961 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.6905, allocations: 470.9 kB / 0.9614 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.6908, allocations: 135.1 kB / 0.9615 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.691, allocations: 88.14 kB / 0.9616 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.692, allocations: 0.9593 MB / 0.9626 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.692, allocations: 32.38 kB / 0.9626 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.6921, allocations: 0 / 0.9626 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006163/0.6927, allocations: 254.4 kB / 0.9628 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.6927, allocations: 52.41 kB / 0.9629 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.6928, allocations: 162.7 kB / 0.963 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.6928, allocations: 30.86 kB / 0.9631 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.6929, allocations: 113.2 kB / 0.9632 GB, free: 432 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.6929, allocations: 32.22 kB / 0.9632 GB, free: 404 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.6929, allocations: 5 kB / 0.9632 GB, free: 400 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.693, allocations: 337.7 kB / 0.9635 GB, free: 56 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.6932, allocations: 81.92 kB / 0.9636 GB, free: 24 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.6935, allocations: 129.2 kB / 0.9637 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.6937, allocations: 98.09 kB / 0.9638 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6937, allocations: 0 / 0.9638 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005629/0.6943, allocations: 262.9 kB / 0.9641 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6943, allocations: 6.469 kB / 0.9641 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6943, allocations: 0 / 0.9641 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6944, allocations: 7.062 kB / 0.9641 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.6946, allocations: 57.97 kB / 0.9642 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.6946, allocations: 5.266 kB / 0.9642 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.6948, allocations: 36.08 kB / 0.9642 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.6948, allocations: 10.16 kB / 0.9642 GB, free: 15.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.695, allocations: 127.6 kB / 0.9643 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.695, allocations: 12.09 kB / 0.9643 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.6955, allocations: 195.5 kB / 0.9645 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6955, allocations: 6.469 kB / 0.9645 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6955, allocations: 0 / 0.9645 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6955, allocations: 0 / 0.9645 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.6958, allocations: 218.9 kB / 0.9647 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6958, allocations: 0 / 0.9647 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.6959, allocations: 42.78 kB / 0.9648 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6959, allocations: 0 / 0.9648 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.696, allocations: 1.344 kB / 0.9648 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.696, allocations: 9.062 kB / 0.9648 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.696, allocations: 0 / 0.9648 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.6964, allocations: 274.9 kB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.6965, allocations: 102.1 kB / 0.9651 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.6965, allocations: 4.969 kB / 0.9652 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.6967, allocations: 16.36 kB / 0.9652 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.6967, allocations: 16.33 kB / 0.9652 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6968, allocations: 6.375 kB / 0.9652 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.6969, allocations: 121.3 kB / 0.9653 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6969, allocations: 0 / 0.9653 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003278/0.6972, allocations: 61.64 kB / 0.9654 GB, free: 14.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002703/0.6975, allocations: 174.6 kB / 0.9655 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.698, allocations: 188.9 kB / 0.9657 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.698, allocations: 0 / 0.9657 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.6982, allocations: 80.36 kB / 0.9658 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.6986, allocations: 24.81 kB / 0.9658 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.6991, allocations: 354.6 kB / 0.9662 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.6994, allocations: 0.7142 MB / 0.9668 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.6995, allocations: 21.11 kB / 0.9669 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.6995, allocations: 20.08 kB / 0.9669 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.6995, allocations: 4 kB / 0.9669 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.005662/0.7052, allocations: 2.465 MB / 0.9693 GB, free: 12.25 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/jenkins/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