Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001063/0.001063, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001182/0.001182, allocations: 181 kB / 23.36 MB, free: 1.133 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.9574/0.9574, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.323/2.323, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.442e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00116/0.001195, allocations: 0.6188 MB / 0.8392 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002662/0.001461, allocations: 71.8 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.001483, allocations: 4 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.001517, allocations: 0 / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.001562, allocations: 4 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.00186, allocations: 47.88 kB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.001919, allocations: 31.89 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.078e-05/0.001949, allocations: 0 / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.001986, allocations: 19.98 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.002155, allocations: 75.89 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.002168, allocations: 4 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.002251, allocations: 43.94 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.002284, allocations: 19.92 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.002304, allocations: 11.94 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.002414, allocations: 67.84 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.002416, allocations: 0 / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002416, allocations: 4 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.002419, allocations: 0 / 0.8396 GB, free: 13.13 MB / 0.8073 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.0002243/0.002643, allocations: 268.7 kB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.002674, allocations: 8.625 kB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.0027, allocations: 8.922 kB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.512e-05/0.002755, allocations: 113.7 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.002765, allocations: 4.359 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.002778, allocations: 8.375 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.002976, allocations: 367.7 kB / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.002983, allocations: 4.172 kB / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.003001, allocations: 12.11 kB / 0.8404 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.003042, allocations: 27.92 kB / 0.8404 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.866e-05/0.00307, allocations: 23.92 kB / 0.8404 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.003528, allocations: 0.7913 MB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.003597, allocations: 165.1 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.003622, allocations: 88.14 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.003641, allocations: 75.28 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.003684, allocations: 113.8 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.003686, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.02e-05/0.003746, allocations: 41.56 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.003884, allocations: 383.7 kB / 0.842 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.003991, allocations: 169.9 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.004007, allocations: 29.7 kB / 0.8422 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.004078, allocations: 159.4 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.00408, allocations: 0 / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.004123, allocations: 53.64 kB / 0.8424 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.004194, allocations: 322.8 kB / 0.8427 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.004204, allocations: 11.98 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.004381, allocations: 467.5 kB / 0.8432 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.004492, allocations: 184.5 kB / 0.8434 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.004494, allocations: 4 kB / 0.8434 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001393/0.004634, allocations: 145.8 kB / 0.8435 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.004645, allocations: 12 kB / 0.8435 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.004651, allocations: 4 kB / 0.8435 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.004662, allocations: 8 kB / 0.8435 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.004737, allocations: 35.92 kB / 0.8436 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.004745, allocations: 15.92 kB / 0.8436 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.004796, allocations: 27.84 kB / 0.8436 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.004804, allocations: 11.94 kB / 0.8436 GB, free: 8.496 MB / 0.8073 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 7.879e-05/0.004883, allocations: 211.8 kB / 0.8438 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.004926, allocations: 113 kB / 0.8439 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.004965, allocations: 112.7 kB / 0.8441 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/0.005004, allocations: 180.3 kB / 0.8442 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.629e-05/0.00504, allocations: 180.2 kB / 0.8444 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/0.00508, allocations: 184.2 kB / 0.8446 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.005206, allocations: 333.4 kB / 0.8449 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/0.005232, allocations: 108.9 kB / 0.845 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.005651, allocations: 101 kB / 0.8451 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.166e-05/0.005693, allocations: 188.2 kB / 0.8453 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.005728, allocations: 176.3 kB / 0.8454 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.473e-05/0.005763, allocations: 176.3 kB / 0.8456 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.944e-05/0.005803, allocations: 192.2 kB / 0.8458 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.549e-05/0.005898, allocations: 323.7 kB / 0.8461 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.005928, allocations: 109.2 kB / 0.8462 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.005978, allocations: 180.3 kB / 0.8464 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.006027, allocations: 112.9 kB / 0.8465 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.006074, allocations: 184.2 kB / 0.8467 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.006098, allocations: 108.9 kB / 0.8468 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.301e-05/0.006121, allocations: 30.89 kB / 0.8468 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006121, allocations: 0 / 0.8468 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001636/0.006285, allocations: 24 kB / 0.8468 GB, free: 5.062 MB / 0.8073 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.000118/0.006403, allocations: 171.7 kB / 0.847 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.283e-05/0.006486, allocations: 60.66 kB / 0.847 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.006492, allocations: 4 kB / 0.847 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.006493, allocations: 0 / 0.847 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.006671, allocations: 472.9 kB / 0.8475 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.00687, allocations: 223.1 kB / 0.8477 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.006904, allocations: 67.86 kB / 0.8478 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.89e-05/0.006963, allocations: 24.64 kB / 0.8478 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.007075, allocations: 111.3 kB / 0.8479 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of SimCode: time 4.2e-07/0.007076, allocations: 0 / 0.8479 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of Templates: time 0.002843/0.009919, allocations: 1.857 MB / 0.8497 GB, free: 2.094 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.211420937906951]