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.001426/0.001426, allocations: 75.69 kB / 20.97 MB, free: 3.57 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.001205/0.001205, allocations: 173 kB / 24.28 MB, free: 272 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 1.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.828/1.828, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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 1.713e-06/1.713e-06, allocations: 0 / 0.8116 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.571e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00453/0.004555, allocations: 0.6401 MB / 0.8122 GB, free: 276 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.006257, allocations: 1.426 MB / 0.8136 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.006294, allocations: 0 / 0.8136 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.447e-05/0.006359, allocations: 3.984 kB / 0.8136 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.006405, allocations: 9.281 kB / 0.8136 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.007033, allocations: 181.3 kB / 0.8138 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.007136, allocations: 43.95 kB / 0.8138 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.007176, allocations: 11.94 kB / 0.8138 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.007226, allocations: 20.53 kB / 0.8139 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.00728, allocations: 24.56 kB / 0.8139 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.007293, allocations: 0 / 0.8139 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.01065, allocations: 220.8 kB / 0.8141 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.0107, allocations: 11.94 kB / 0.8141 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.01074, allocations: 23.92 kB / 0.8141 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.01103, allocations: 229.9 kB / 0.8143 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01104, allocations: 0 / 0.8143 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01104, allocations: 0 / 0.8143 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.01104, allocations: 0 / 0.8143 GB, free: 14.07 MB / 0.7292 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.0004183/0.01146, allocations: 471.2 kB / 0.8148 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.0115, allocations: 8.031 kB / 0.8148 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.01155, allocations: 12.89 kB / 0.8148 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.01165, allocations: 121 kB / 0.8149 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.01167, allocations: 1.656 kB / 0.8149 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.01168, allocations: 4.375 kB / 0.8149 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.01186, allocations: 119.9 kB / 0.815 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.01186, allocations: 1 kB / 0.815 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.01187, allocations: 384 / 0.815 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01188, allocations: 3.938 kB / 0.8151 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.01196, allocations: 82.19 kB / 0.8151 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.01209, allocations: 138 kB / 0.8153 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.0122, allocations: 108.7 kB / 0.8154 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.396e-05/0.01228, allocations: 93.42 kB / 0.8155 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.01229, allocations: 5.156 kB / 0.8155 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.01231, allocations: 33.39 kB / 0.8155 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 2.355e-06/0.01231, allocations: 3.984 kB / 0.8155 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0003613/0.01268, allocations: 295.4 kB / 0.8158 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.01272, allocations: 89.03 kB / 0.8159 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.01284, allocations: 196.6 kB / 0.816 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.01285, allocations: 25.7 kB / 0.8161 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.01291, allocations: 151.4 kB / 0.8162 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.01293, allocations: 15.84 kB / 0.8162 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.01298, allocations: 32.62 kB / 0.8163 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.0131, allocations: 0.4884 MB / 0.8167 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/0.01624, allocations: 147.3 kB / 0.8169 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.01635, allocations: 136.9 kB / 0.817 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.01657, allocations: 252.7 kB / 0.8173 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01657, allocations: 0 / 0.8173 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002999/0.01687, allocations: 336.3 kB / 0.8176 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.01692, allocations: 63.89 kB / 0.8176 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01692, allocations: 1.938 kB / 0.8176 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01694, allocations: 4 kB / 0.8176 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.01694, allocations: 3.938 kB / 0.8176 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01695, allocations: 7.922 kB / 0.8177 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.01705, allocations: 11.89 kB / 0.8177 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01706, allocations: 9.328 kB / 0.8177 GB, free: 10.33 MB / 0.7292 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 9.052e-05/0.01715, allocations: 190.3 kB / 0.8179 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.01717, allocations: 11.94 kB / 0.8179 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.01719, allocations: 9.594 kB / 0.8179 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01719, allocations: 0 / 0.8179 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01719, allocations: 7.938 kB / 0.8179 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.0172, allocations: 0.5312 kB / 0.8179 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.017e-05/0.01729, allocations: 132.6 kB / 0.818 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01729, allocations: 0.5312 kB / 0.818 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.01729, allocations: 0.875 kB / 0.818 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01729, allocations: 0 / 0.818 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.0173, allocations: 4.906 kB / 0.818 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0173, allocations: 0 / 0.818 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0173, allocations: 0 / 0.818 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.01755, allocations: 272.4 kB / 0.8183 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.01756, allocations: 7.953 kB / 0.8183 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.01758, allocations: 1.281 kB / 0.8183 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.01762, allocations: 4 kB / 0.8183 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.01768, allocations: 11.98 kB / 0.8183 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01769, allocations: 7.938 kB / 0.8183 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.732e-05/0.01774, allocations: 141.9 kB / 0.8184 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01774, allocations: 0.8438 kB / 0.8184 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002901/0.01803, allocations: 67.92 kB / 0.8185 GB, free: 9.391 MB / 0.7292 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.0002602/0.01829, allocations: 168.6 kB / 0.8187 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.01862, allocations: 379.5 kB / 0.819 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01862, allocations: 0 / 0.819 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.01873, allocations: 157.7 kB / 0.8192 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.01888, allocations: 4 kB / 0.8192 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.02222, allocations: 243.8 kB / 0.8194 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.02226, allocations: 67.28 kB / 0.8195 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.591e-06/0.02226, allocations: 0 / 0.8195 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.02228, allocations: 8.5 kB / 0.8195 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/0.02228, allocations: 4 kB / 0.8195 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.004438/0.02671, allocations: 2.199 MB / 0.8216 GB, free: 6.09 MB / 0.7292 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.084270742023364]