Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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.001343/0.001343, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.002331/0.002331, allocations: 164.5 kB / 24.87 MB, free: 8.891 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.968/0.968, allocations: 177.1 MB / 205.3 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.905/1.905, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.121e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001625/0.001646, allocations: 0.6236 MB / 0.8135 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.001891, allocations: 67.84 kB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.001913, allocations: 1.688 kB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.001949, allocations: 0 / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.001991, allocations: 15.86 kB / 0.8135 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.002257, allocations: 41.47 kB / 0.8136 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.978e-05/0.002317, allocations: 19.98 kB / 0.8136 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.002356, allocations: 4.5 kB / 0.8136 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.002395, allocations: 27.89 kB / 0.8136 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.002562, allocations: 68.83 kB / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.002575, allocations: 4 kB / 0.8137 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.002653, allocations: 40.55 kB / 0.8137 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.311e-05/0.002686, allocations: 19.94 kB / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.002704, allocations: 13.58 kB / 0.8138 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.002828, allocations: 83.7 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00283, allocations: 0 / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002831, allocations: 0 / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.002834, allocations: 0.5312 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002803/0.003115, allocations: 385.3 kB / 0.8142 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.003146, allocations: 8.031 kB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.003177, allocations: 21.34 kB / 0.8142 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.937e-05/0.003236, allocations: 108.6 kB / 0.8143 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.003248, allocations: 10 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.003258, allocations: 8.312 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.003446, allocations: 381.9 kB / 0.8147 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003452, allocations: 192 / 0.8147 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.003461, allocations: 4.719 kB / 0.8147 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.003501, allocations: 27.92 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.003527, allocations: 24.59 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.004007, allocations: 1.189 MB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.004086, allocations: 262.1 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.004115, allocations: 131.9 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.004141, allocations: 123.2 kB / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.004186, allocations: 156.5 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.004187, allocations: 1.375 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.631e-05/0.004243, allocations: 49.52 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.004358, allocations: 427.6 kB / 0.817 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.004467, allocations: 233.7 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.004478, allocations: 25.7 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.004551, allocations: 210.2 kB / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.004553, allocations: 0 / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.004601, allocations: 63.3 kB / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.004708, allocations: 0.4984 MB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.00472, allocations: 8 kB / 0.818 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.004912, allocations: 0.546 MB / 0.8186 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.005043, allocations: 243.2 kB / 0.8188 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.005047, allocations: 4 kB / 0.8188 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001687/0.005215, allocations: 161.7 kB / 0.819 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005228, allocations: 8.812 kB / 0.819 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.005234, allocations: 4 kB / 0.819 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.005245, allocations: 8.938 kB / 0.819 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.005325, allocations: 43.92 kB / 0.819 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.00533, allocations: 7.938 kB / 0.819 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.005389, allocations: 25.06 kB / 0.8191 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.005399, allocations: 12 kB / 0.8191 GB, free: 10.42 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.0001031/0.005502, allocations: 300.4 kB / 0.8194 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.005557, allocations: 160.8 kB / 0.8195 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.005604, allocations: 160.8 kB / 0.8197 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.567e-05/0.00566, allocations: 264.8 kB / 0.8199 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.538e-05/0.005715, allocations: 275.9 kB / 0.8202 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.514e-05/0.00577, allocations: 268.1 kB / 0.8204 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.00593, allocations: 0.4886 MB / 0.8209 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/0.005962, allocations: 148.9 kB / 0.8211 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.005993, allocations: 144.9 kB / 0.8212 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-05/0.00605, allocations: 268 kB / 0.8214 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.006104, allocations: 264.1 kB / 0.8217 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.422e-05/0.006158, allocations: 272 kB / 0.822 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-05/0.006212, allocations: 272.1 kB / 0.8222 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.006344, allocations: 459.9 kB / 0.8227 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.00638, allocations: 144.9 kB / 0.8228 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.006448, allocations: 277.3 kB / 0.8231 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.954e-05/0.006508, allocations: 152.8 kB / 0.8232 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.006564, allocations: 272 kB / 0.8235 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.006598, allocations: 153.9 kB / 0.8236 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.006641, allocations: 141.2 kB / 0.8237 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006641, allocations: 0 / 0.8237 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002081/0.006849, allocations: 29.12 kB / 0.8238 GB, free: 5.426 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001379/0.006987, allocations: 231.5 kB / 0.824 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.993e-05/0.007087, allocations: 78.22 kB / 0.8241 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007088, allocations: 0 / 0.8241 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.007091, allocations: 3.938 kB / 0.8241 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.007381, allocations: 0.7185 MB / 0.8248 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000205/0.007586, allocations: 275.5 kB / 0.825 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.00762, allocations: 63.98 kB / 0.8251 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.471e-05/0.007685, allocations: 23.88 kB / 0.8251 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.007812, allocations: 136.7 kB / 0.8252 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.007813, allocations: 0 / 0.8252 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of Templates: time 0.003019/0.01083, allocations: 1.871 MB / 0.8271 GB, free: 2.055 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.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: 4.984940862283111]