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.0009439/0.0009439, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009816/0.0009816, allocations: 161 kB / 23.82 MB, free: 0.75 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.9282/0.9282, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.805/1.805, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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.253e-06/1.253e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.115e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00115/0.001171, allocations: 0.6259 MB / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.002495, allocations: 1.425 MB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.002523, allocations: 2 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.853e-05/0.002581, allocations: 0 / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.002625, allocations: 11.88 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.003179, allocations: 188.6 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.003267, allocations: 40.67 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.0033, allocations: 4 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.003349, allocations: 32.44 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.003397, allocations: 21.44 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.00341, allocations: 4 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.00367, allocations: 211.6 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.003717, allocations: 15.92 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.003748, allocations: 12.47 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.003985, allocations: 231.5 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003987, allocations: 5.375 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003988, allocations: 0 / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.003992, allocations: 0 / 0.8143 GB, free: 14.86 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.0003509/0.004343, allocations: 464.7 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.004377, allocations: 15.97 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.00442, allocations: 8.891 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.004505, allocations: 121.8 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.004518, allocations: 8.375 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.004528, allocations: 384 / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.004677, allocations: 119.9 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.004684, allocations: 1.594 kB / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004693, allocations: 384 / 0.8151 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.004703, allocations: 11.92 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.004764, allocations: 81.66 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.004865, allocations: 129.2 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.004953, allocations: 117.8 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.005019, allocations: 93.41 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.005024, allocations: 4 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.005044, allocations: 34.23 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005045, allocations: 0 / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000289/0.005334, allocations: 299.9 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.005368, allocations: 81.05 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.005465, allocations: 204.5 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.005477, allocations: 25.7 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.005525, allocations: 144 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.005545, allocations: 19.84 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.005586, allocations: 35.36 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003497/0.005936, allocations: 0.4903 MB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.469e-05/0.00603, allocations: 135.3 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.006113, allocations: 147.3 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.006282, allocations: 252.7 kB / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.006284, allocations: 0 / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002237/0.006507, allocations: 338.7 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.006549, allocations: 75.38 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006553, allocations: 0 / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.006565, allocations: 0 / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-06/0.006569, allocations: 0 / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.006574, allocations: 3.938 kB / 0.8177 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.006658, allocations: 8.469 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.006667, allocations: 4 kB / 0.8177 GB, free: 11.12 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 7.895e-05/0.006746, allocations: 196.2 kB / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.006758, allocations: 11.95 kB / 0.8179 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.045e-05/0.006769, allocations: 4.344 kB / 0.8179 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00677, allocations: 0 / 0.8179 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.006774, allocations: 4.844 kB / 0.8179 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006778, allocations: 4 kB / 0.8179 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.499e-05/0.006843, allocations: 132.6 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.006844, allocations: 4.781 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.006845, allocations: 0 / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006847, allocations: 0.6562 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.006855, allocations: 3.188 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006857, allocations: 4 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006858, allocations: 0 / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.007059, allocations: 271.6 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.007067, allocations: 3.953 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.00708, allocations: 4 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/0.00711, allocations: 3.984 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.007164, allocations: 8 kB / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.007169, allocations: 3.938 kB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.007219, allocations: 151 kB / 0.8185 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007219, allocations: 0 / 0.8185 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00021/0.007429, allocations: 59.94 kB / 0.8185 GB, free: 10.19 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.0001997/0.007629, allocations: 163.1 kB / 0.8187 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.007894, allocations: 380.4 kB / 0.819 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.007896, allocations: 4 kB / 0.819 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.007989, allocations: 161.8 kB / 0.8192 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.008101, allocations: 11.94 kB / 0.8192 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.008385, allocations: 232.4 kB / 0.8194 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.00842, allocations: 68.33 kB / 0.8195 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.162e-06/0.008426, allocations: 4 kB / 0.8195 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.008441, allocations: 13.62 kB / 0.8195 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.008442, allocations: 0 / 0.8195 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of Templates: time 0.004005/0.01245, allocations: 2.409 MB / 0.8219 GB, free: 6.668 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.0186073440127075]