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.0009093/0.0009093, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001067/0.001067, allocations: 169 kB / 24.28 MB, free: 276 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.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.852/1.852, allocations: 377.8 MB / 0.6239 GB, free: 8.59 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.352e-06/1.352e-06, allocations: 0 / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.594e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001016/0.001032, allocations: 0.6249 MB / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002427/0.001274, allocations: 67.84 kB / 0.8123 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.001299, allocations: 1.031 kB / 0.8123 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.001333, allocations: 4 kB / 0.8123 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.001371, allocations: 8.719 kB / 0.8123 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.001636, allocations: 45.62 kB / 0.8123 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.001693, allocations: 23.91 kB / 0.8123 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.001728, allocations: 4 kB / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.001764, allocations: 21.5 kB / 0.8124 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.001937, allocations: 71.91 kB / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.00195, allocations: 0 / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.766e-05/0.002028, allocations: 51.86 kB / 0.8125 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.002056, allocations: 13.75 kB / 0.8125 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.002077, allocations: 11.94 kB / 0.8125 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.002197, allocations: 79.7 kB / 0.8126 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002198, allocations: 0 / 0.8126 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002199, allocations: 4 kB / 0.8126 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.002203, allocations: 1.094 kB / 0.8126 GB, free: 1.027 MB / 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.0002777/0.002481, allocations: 388.5 kB / 0.813 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.002515, allocations: 8.031 kB / 0.813 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.002553, allocations: 14.38 kB / 0.813 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.975e-05/0.002613, allocations: 112.6 kB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.002623, allocations: 384 / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.002638, allocations: 16.31 kB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.002862, allocations: 392.6 kB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.002869, allocations: 192 / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.002881, allocations: 8.125 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.002923, allocations: 23.88 kB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.565e-05/0.002958, allocations: 31.89 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.003465, allocations: 1.207 MB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.003542, allocations: 265.4 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.003574, allocations: 127.4 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.003596, allocations: 119.9 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.003642, allocations: 168.5 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.003643, allocations: 0.5312 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.529e-05/0.003699, allocations: 35.31 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.003813, allocations: 435.6 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.003927, allocations: 227.6 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.003939, allocations: 29.7 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.004012, allocations: 202.2 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.004014, allocations: 0.5938 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.004061, allocations: 64.09 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.004169, allocations: 0.4923 MB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.004189, allocations: 17.08 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.004391, allocations: 0.5444 MB / 0.8173 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.004527, allocations: 252 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.004531, allocations: 4 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001891/0.00472, allocations: 173.4 kB / 0.8178 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.004732, allocations: 8.5 kB / 0.8178 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.004738, allocations: 5.344 kB / 0.8178 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.004754, allocations: 8 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.00484, allocations: 35.92 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.00485, allocations: 15.92 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.004903, allocations: 32.78 kB / 0.8179 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.004912, allocations: 11.94 kB / 0.8179 GB, free: 10.98 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 9.618e-05/0.005008, allocations: 300.3 kB / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.005055, allocations: 160.5 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.005101, allocations: 160.7 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.241e-05/0.005153, allocations: 264.1 kB / 0.8187 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.698e-05/0.00521, allocations: 276 kB / 0.819 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/0.005262, allocations: 264.1 kB / 0.8192 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.005426, allocations: 0.5115 MB / 0.8197 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.005456, allocations: 144.9 kB / 0.8199 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.005487, allocations: 148.9 kB / 0.82 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.625e-05/0.005543, allocations: 272 kB / 0.8203 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.005599, allocations: 264.1 kB / 0.8205 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.163e-05/0.005661, allocations: 277.7 kB / 0.8208 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.072e-05/0.005712, allocations: 264.1 kB / 0.821 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.005828, allocations: 455.9 kB / 0.8215 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.005867, allocations: 148.9 kB / 0.8216 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.005936, allocations: 276.9 kB / 0.8219 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.583e-05/0.005992, allocations: 148.9 kB / 0.822 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.00605, allocations: 272 kB / 0.8223 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.00608, allocations: 146 kB / 0.8224 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.006129, allocations: 153.5 kB / 0.8226 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006129, allocations: 0 / 0.8226 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001936/0.006323, allocations: 29.12 kB / 0.8226 GB, free: 5.957 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.0001342/0.006457, allocations: 227.5 kB / 0.8228 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.006565, allocations: 74.72 kB / 0.8229 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.006567, allocations: 0 / 0.8229 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.006568, allocations: 7.938 kB / 0.8229 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.006859, allocations: 0.7256 MB / 0.8236 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.007076, allocations: 267.4 kB / 0.8238 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.007114, allocations: 71.92 kB / 0.8239 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.279e-05/0.007207, allocations: 54.69 kB / 0.824 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.007224, allocations: 16.5 kB / 0.824 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.007224, allocations: 0 / 0.824 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of Templates: time 0.003132/0.01036, allocations: 1.83 MB / 0.8258 GB, free: 2.711 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: 5.057648811955005]