Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9714/0.9714, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.9/1.9, allocations: 377.9 MB / 0.624 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.807e-05, allocations: 3.125 kB / 0.8121 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002308/0.002336, allocations: 0.6219 MB / 0.8127 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.004666, allocations: 1.418 MB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.004711, allocations: 0 / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.961e-05/0.00478, allocations: 0 / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.004834, allocations: 4.781 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.005653, allocations: 185.2 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.005775, allocations: 45.38 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.005817, allocations: 7.984 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.446e-05/0.005881, allocations: 23.97 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.005953, allocations: 27.91 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.005975, allocations: 5.75 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.006377, allocations: 207.7 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.006426, allocations: 11.94 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.006461, allocations: 11.98 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.006837, allocations: 235.4 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.006842, allocations: 4.688 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.006843, allocations: 0 / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.006847, allocations: 0.8438 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004672/0.007315, allocations: 467.5 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.007363, allocations: 18.56 kB / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.00741, allocations: 8.891 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.007527, allocations: 122.9 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.007541, allocations: 4.375 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.007552, allocations: 384 / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.007702, allocations: 103.9 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00771, allocations: 192 / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.00772, allocations: 4.891 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.007728, allocations: 4.656 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.007789, allocations: 65.67 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.007926, allocations: 105.8 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.878e-05/0.008025, allocations: 90.44 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.008086, allocations: 69.44 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.008091, allocations: 3.938 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.008123, allocations: 37.39 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.614e-06/0.008125, allocations: 0.5 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003136/0.008438, allocations: 227.3 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.008481, allocations: 81.11 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.008632, allocations: 214.5 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.008648, allocations: 25.7 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.008705, allocations: 136 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.008733, allocations: 15.89 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.008798, allocations: 35.34 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00031/0.009108, allocations: 0.4975 MB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.009209, allocations: 103.3 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.009289, allocations: 99.38 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.009454, allocations: 188.7 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.009457, allocations: 0.625 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002569/0.009714, allocations: 269.6 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.94e-05/0.009783, allocations: 67.38 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.00979, allocations: 4 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.009805, allocations: 1.031 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.009806, allocations: 0 / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.009809, allocations: 0 / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.009913, allocations: 12.72 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.009927, allocations: 8 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.000108/0.01004, allocations: 200.4 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.01006, allocations: 11.95 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.01008, allocations: 4.344 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01008, allocations: 0 / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01008, allocations: 0 / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01009, allocations: 3.938 kB / 0.818 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.01019, allocations: 120 kB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01019, allocations: 0 / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.01019, allocations: 0 / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.0102, allocations: 3.984 kB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.0102, allocations: 0 / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01021, allocations: 4 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01021, allocations: 0 / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.01044, allocations: 209.3 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01045, allocations: 11.95 kB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01047, allocations: 4 kB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.461e-05/0.01051, allocations: 7.984 kB / 0.8183 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.01056, allocations: 8.438 kB / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01057, allocations: 4.531 kB / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.507e-05/0.01064, allocations: 141.5 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01064, allocations: 4.562 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003609/0.011, allocations: 69.23 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003025/0.0113, allocations: 151.2 kB / 0.8187 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.0116, allocations: 332.5 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.01161, allocations: 0 / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.01171, allocations: 133.4 kB / 0.8191 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01188, allocations: 8 kB / 0.8191 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.01221, allocations: 213.1 kB / 0.8193 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.01225, allocations: 71.11 kB / 0.8194 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.271e-06/0.01226, allocations: 0 / 0.8194 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.01235, allocations: 82.2 kB / 0.8195 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of SimCode: time 1.142e-06/0.01235, allocations: 7.938 kB / 0.8195 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of Templates: time 0.006235/0.01859, allocations: 2.407 MB / 0.8218 GB, free: 6.895 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.009277541190386]