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.0009969/0.0009969, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001587/0.001587, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 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.9734/0.9734, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.594 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.024e-06/2.024e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.13e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002269/0.0023, allocations: 0.6415 MB / 0.8122 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.00455, allocations: 1.417 MB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.004587, allocations: 0.6562 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.577e-05/0.004662, allocations: 7.938 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.004713, allocations: 4.859 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000748/0.005461, allocations: 182.5 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.005564, allocations: 47.91 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.005599, allocations: 7.969 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.005646, allocations: 19.98 kB / 0.8139 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.005693, allocations: 21.22 kB / 0.8139 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.005706, allocations: 11.88 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.005998, allocations: 207.7 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.006046, allocations: 19.92 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.006079, allocations: 12.84 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.00636, allocations: 235.4 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.006365, allocations: 0.875 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.302e-06/0.006367, allocations: 0 / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.006373, allocations: 1.219 kB / 0.8143 GB, free: 14.89 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.0004346/0.006807, allocations: 467.6 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.006849, allocations: 8.031 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.006901, allocations: 9.484 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.007006, allocations: 124.4 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.007021, allocations: 5.5 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.007038, allocations: 4.375 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.007214, allocations: 119.8 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.007223, allocations: 1.125 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.007241, allocations: 4.375 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.00725, allocations: 4.469 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.007314, allocations: 82.75 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.007429, allocations: 136.7 kB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.007518, allocations: 108.7 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.007585, allocations: 95.23 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.007591, allocations: 0 / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.007615, allocations: 41.33 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.007615, allocations: 0 / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003104/0.007926, allocations: 294.6 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.007966, allocations: 86.58 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.008084, allocations: 203.5 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.008097, allocations: 29.7 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.008146, allocations: 138.9 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.008165, allocations: 8.406 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.008215, allocations: 35.86 kB / 0.8163 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.008328, allocations: 0.4962 MB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.008431, allocations: 135.9 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.008516, allocations: 136.8 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.00869, allocations: 256.6 kB / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.008692, allocations: 0 / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002411/0.008933, allocations: 340.3 kB / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.008978, allocations: 67.95 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008983, allocations: 0.6562 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.008998, allocations: 0 / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.868e-06/0.009002, allocations: 1.938 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.009013, allocations: 3.938 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.712e-05/0.00911, allocations: 15.89 kB / 0.8177 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.009122, allocations: 8 kB / 0.8177 GB, free: 11.15 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 9.866e-05/0.00922, allocations: 186.9 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.009235, allocations: 8 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.00925, allocations: 9 kB / 0.8179 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.009255, allocations: 7.984 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.00926, allocations: 4.75 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.009263, allocations: 0 / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.96e-05/0.009342, allocations: 137.6 kB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009343, allocations: 0 / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-06/0.009345, allocations: 4 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009348, allocations: 5.328 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.009357, allocations: 4 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.009359, allocations: 11.92 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.00936, allocations: 0.875 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.009576, allocations: 259.7 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.009583, allocations: 2.156 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.009599, allocations: 7.984 kB / 0.8183 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.009633, allocations: 4 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.009695, allocations: 11.98 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.009701, allocations: 3.938 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.072e-05/0.009762, allocations: 144.7 kB / 0.8185 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009762, allocations: 4.5 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002407/0.01, allocations: 75.3 kB / 0.8185 GB, free: 10.2 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.0002319/0.01023, allocations: 151.2 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.01052, allocations: 383.5 kB / 0.819 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01052, allocations: 0 / 0.819 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.01062, allocations: 152.8 kB / 0.8192 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.01073, allocations: 7.984 kB / 0.8192 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.01102, allocations: 237.5 kB / 0.8194 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.01106, allocations: 67.28 kB / 0.8195 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.279e-06/0.01107, allocations: 0 / 0.8195 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.01108, allocations: 9.5 kB / 0.8195 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.01108, allocations: 0 / 0.8195 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of Templates: time 0.003768/0.01485, allocations: 2.215 MB / 0.8217 GB, free: 6.902 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.2018135278485715]