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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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=5000,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=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_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.00117/0.00117, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001382/0.001382, allocations: 177.3 kB / 15.95 MB, free: 216 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.321/1.321, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 8 kB / 0.8708 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5957/0.5962, allocations: 153.7 MB / 1.021 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004378/0.6006, allocations: 3.883 MB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008497/0.6015, allocations: 0.718 MB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.6015, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.6016, allocations: 19.91 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.6017, allocations: 35.86 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.6021, allocations: 139.6 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.6022, allocations: 107.8 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.181e-05/0.6023, allocations: 17.11 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.6024, allocations: 67.75 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.6025, allocations: 75.72 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.6026, allocations: 8 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.6028, allocations: 119.8 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.6029, allocations: 23.91 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.6029, allocations: 49.64 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.6031, allocations: 149.6 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.6032, allocations: 0 / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6032, allocations: 0 / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6032, allocations: 0 / 1.026 GB, free: 11.6 MB / 0.7794 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.0007648/0.6039, allocations: 478.7 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.604, allocations: 11.98 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.604, allocations: 11.91 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.6042, allocations: 190.6 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.6042, allocations: 12 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.6042, allocations: 12 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.6045, allocations: 125.6 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6046, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6046, allocations: 3.938 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6046, allocations: 8 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.605, allocations: 159.9 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.606, allocations: 480.3 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.6063, allocations: 134.5 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.6076, allocations: 0.9529 MB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.6077, allocations: 46.5 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.6077, allocations: 0 / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006903/0.6084, allocations: 249.2 kB / 1.029 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.6084, allocations: 51.41 kB / 1.029 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.6085, allocations: 163.3 kB / 1.029 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.6086, allocations: 29.7 kB / 1.029 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.6086, allocations: 112.3 kB / 1.029 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.6087, allocations: 35.47 kB / 1.029 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.6087, allocations: 0 / 1.029 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6088, allocations: 326.8 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.609, allocations: 87.88 kB / 1.03 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.6093, allocations: 123.3 kB / 1.03 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.6095, allocations: 92.92 kB / 1.03 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6095, allocations: 4 kB / 1.03 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005608/0.6101, allocations: 270.8 kB / 1.03 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6101, allocations: 4 kB / 1.03 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6102, allocations: 3.953 kB / 1.03 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6102, allocations: 4 kB / 1.03 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.6105, allocations: 63.91 kB / 1.03 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6105, allocations: 4 kB / 1.03 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.6106, allocations: 43.78 kB / 1.03 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.6107, allocations: 4 kB / 1.03 GB, free: 7.008 MB / 0.7794 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 9.09e-05/0.6108, allocations: 125.8 kB / 1.03 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.6108, allocations: 7.906 kB / 1.03 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.6113, allocations: 202.8 kB / 1.031 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6113, allocations: 3.953 kB / 1.031 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6113, allocations: 4 kB / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6113, allocations: 0 / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.6116, allocations: 221.5 kB / 1.031 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6116, allocations: 0 / 1.031 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.6118, allocations: 39.91 kB / 1.031 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.6118, allocations: 0 / 1.031 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.6118, allocations: 0 / 1.031 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6118, allocations: 0 / 1.031 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6118, allocations: 3.953 kB / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.6123, allocations: 283.8 kB / 1.031 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.6123, allocations: 104.8 kB / 1.031 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.6124, allocations: 4 kB / 1.031 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.6125, allocations: 15.98 kB / 1.031 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.6126, allocations: 15.94 kB / 1.031 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.6126, allocations: 4 kB / 1.031 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.128e-05/0.6127, allocations: 116.9 kB / 1.031 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6127, allocations: 0 / 1.031 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003317/0.613, allocations: 64.3 kB / 1.031 GB, free: 5.723 MB / 0.7794 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.0002633/0.6133, allocations: 163.1 kB / 1.032 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.6138, allocations: 188 kB / 1.032 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6138, allocations: 0 / 1.032 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.614, allocations: 79.89 kB / 1.032 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.6143, allocations: 20.55 kB / 1.032 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.6148, allocations: 352.4 kB / 1.032 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.6152, allocations: 0.7087 MB / 1.033 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.991e-05/0.6153, allocations: 21.06 kB / 1.033 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.6154, allocations: 15.44 kB / 1.033 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6154, allocations: 0 / 1.033 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of Templates: time 0.005121/0.6205, allocations: 2.474 MB / 1.035 GB, free: 1.684 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches