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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_10_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.001725/0.001725, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002038/0.002039, allocations: 192.3 kB / 16.14 MB, free: 6.711 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.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.811/2.811, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 63.91 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6892/0.692, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006522/0.6985, allocations: 4.616 MB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.6997, allocations: 0.8187 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.6998, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.7, allocations: 31.83 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.7001, allocations: 23.78 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.7005, allocations: 143.5 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.7007, allocations: 179.3 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.036e-05/0.7008, allocations: 9.125 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.701, allocations: 75.69 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.7011, allocations: 71.73 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.7011, allocations: 8 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.7014, allocations: 147.8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.7015, allocations: 23.91 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.7015, allocations: 67.58 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.7019, allocations: 229.4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7019, allocations: 3.938 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.61e-07/0.7019, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.7019, allocations: 0 / 1.023 GB, free: 12.31 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.0009257/0.7029, allocations: 486.9 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7029, allocations: 8.031 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.703, allocations: 16.75 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.7031, allocations: 186 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.7031, allocations: 8.375 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.7032, allocations: 12.38 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.7035, allocations: 132.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7035, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.7036, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.7036, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.704, allocations: 143.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/0.705, allocations: 464.5 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.7053, allocations: 134.5 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.7055, allocations: 72.81 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.707, allocations: 0.9606 MB / 1.025 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.707, allocations: 34.56 kB / 1.025 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.707, allocations: 4 kB / 1.025 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.000711/0.7078, allocations: 217.2 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.7078, allocations: 55.41 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.708, allocations: 161.5 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.708, allocations: 25.7 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.7081, allocations: 112.3 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.7081, allocations: 47.36 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.7082, allocations: 53.62 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7084, allocations: 322.8 kB / 1.026 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.7086, allocations: 79.88 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.7089, allocations: 109.1 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.7094, allocations: 176.9 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7094, allocations: 0 / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000589/0.71, allocations: 237.9 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.71, allocations: 8 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.71, allocations: 3.984 kB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.71, allocations: 7.938 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.7103, allocations: 59.98 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.7103, allocations: 0 / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.7105, allocations: 31.73 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.7106, allocations: 12 kB / 1.027 GB, free: 7.617 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.7107, allocations: 121.8 kB / 1.027 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.7107, allocations: 7.906 kB / 1.027 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005201/0.7113, allocations: 198.6 kB / 1.027 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7113, allocations: 0 / 1.027 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7113, allocations: 0 / 1.027 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.7113, allocations: 3.984 kB / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.7115, allocations: 205.6 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7116, allocations: 4 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.7117, allocations: 27.98 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7117, allocations: 0 / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.7118, allocations: 11.92 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7118, allocations: 4 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7118, allocations: 0 / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.7122, allocations: 255.2 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.7123, allocations: 96.94 kB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.7124, allocations: 15.88 kB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.7125, allocations: 7.984 kB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.7126, allocations: 7.984 kB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.7126, allocations: 15.98 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.669e-05/0.7127, allocations: 110.3 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7127, allocations: 0 / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003579/0.7131, allocations: 64.36 kB / 1.028 GB, free: 6.387 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 (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.0003207/0.7134, allocations: 163.7 kB / 1.028 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.7139, allocations: 165.7 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7139, allocations: 4 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.7141, allocations: 63.89 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.7145, allocations: 28.11 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.7151, allocations: 286.9 kB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.7154, allocations: 0.7087 MB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.7155, allocations: 25.83 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.7156, allocations: 15.44 kB / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7156, allocations: 0 / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.007371/0.723, allocations: 2.549 MB / 1.032 GB, free: 2.359 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches