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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.167/3.167, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",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.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 69.67 kB / 1.138 GB, free: 33.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.358, allocations: 173.6 MB / 1.307 GB, free: 1.785 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002192/0.3602, allocations: 0.6217 MB / 1.308 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003612/0.3605, allocations: 75.78 kB / 1.308 GB, free: 1.09 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.3605, allocations: 0 / 1.308 GB, free: 1.09 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.3606, allocations: 0 / 1.308 GB, free: 1.09 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.28e-05/0.3606, allocations: 11.92 kB / 1.308 GB, free: 1.078 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.3609, allocations: 43.94 kB / 1.308 GB, free: 1.035 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 8.174e-05/0.361, allocations: 27.86 kB / 1.308 GB, free: 1.008 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.3611, allocations: 8.391 kB / 1.308 GB, free: 1 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.3611, allocations: 11.98 kB / 1.308 GB, free: 0.9883 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.3613, allocations: 67.94 kB / 1.308 GB, free: 0.9219 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3614, allocations: 4 kB / 1.308 GB, free: 0.918 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3615, allocations: 47.88 kB / 1.308 GB, free: 0.8711 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.3615, allocations: 15.98 kB / 1.308 GB, free: 0.8555 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.3616, allocations: 23.81 kB / 1.308 GB, free: 0.832 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.000155/0.3617, allocations: 63.8 kB / 1.308 GB, free: 0.7695 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3617, allocations: 3.984 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.242e-06/0.3617, allocations: 3.938 kB / 1.308 GB, free: 0.7617 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 1.206e-05/0.3617, allocations: 0 / 1.308 GB, free: 0.7617 MB / 0.9981 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.0004291/0.3622, allocations: 290.2 kB / 1.309 GB, free: 456 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3622, allocations: 8.031 kB / 1.309 GB, free: 448 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.3623, allocations: 12.88 kB / 1.309 GB, free: 436 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3624, allocations: 114.5 kB / 1.309 GB, free: 296 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3624, allocations: 384 / 1.309 GB, free: 296 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3624, allocations: 384 / 1.309 GB, free: 296 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.3627, allocations: 183.4 kB / 1.309 GB, free: 88 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3627, allocations: 0 / 1.309 GB, free: 88 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3627, allocations: 4 kB / 1.309 GB, free: 84 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/0.3628, allocations: 23.97 kB / 1.309 GB, free: 60 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.3629, allocations: 35.91 kB / 1.309 GB, free: 24 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.3638, allocations: 0.8819 MB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.3639, allocations: 169.1 kB / 1.31 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.364, allocations: 80.14 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.364, allocations: 83.28 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/0.3641, allocations: 109.8 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 2.986e-06/0.3641, allocations: 3.984 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.733e-05/0.3642, allocations: 37.66 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002937/0.3645, allocations: 387.7 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3646, allocations: 165.5 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3647, allocations: 29.7 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3648, allocations: 163.4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.541e-06/0.3648, allocations: 4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.3649, allocations: 53.66 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001977/0.3651, allocations: 326.8 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.3651, allocations: 27.98 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.3654, allocations: 218.5 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.3657, allocations: 193.8 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3657, allocations: 8 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003153/0.366, allocations: 185.7 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.366, allocations: 12.09 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.366, allocations: 4 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.366, allocations: 11.94 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3661, allocations: 47.86 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.3662, allocations: 11.92 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3663, allocations: 27.78 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.3663, allocations: 12 kB / 1.312 GB, free: 12.45 MB / 1.014 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.0001597/0.3664, allocations: 213.8 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.3665, allocations: 112.9 kB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.3666, allocations: 116.7 kB / 1.313 GB, free: 12 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/0.3667, allocations: 192.2 kB / 1.313 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.227e-05/0.3668, allocations: 180.2 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.004e-05/0.3669, allocations: 176.3 kB / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3672, allocations: 392.3 kB / 1.313 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.147e-05/0.3672, allocations: 104.9 kB / 1.314 GB, free: 10.89 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.3673, allocations: 109 kB / 1.314 GB, free: 10.78 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-05/0.3674, allocations: 184.2 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.3675, allocations: 176.3 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001543/0.3676, allocations: 180.2 kB / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.647e-05/0.3677, allocations: 188.2 kB / 1.314 GB, free: 10.04 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3679, allocations: 311.8 kB / 1.315 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3681, allocations: 104.9 kB / 1.315 GB, free: 9.602 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3682, allocations: 180.3 kB / 1.315 GB, free: 9.418 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3683, allocations: 120.8 kB / 1.315 GB, free: 9.293 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.3684, allocations: 184.6 kB / 1.315 GB, free: 9.105 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.3685, allocations: 104.9 kB / 1.315 GB, free: 8.996 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.758e-05/0.3686, allocations: 117.7 kB / 1.315 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3686, allocations: 0 / 1.315 GB, free: 8.883 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004049/0.369, allocations: 27.94 kB / 1.315 GB, free: 8.855 MB / 1.014 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.0002136/0.3692, allocations: 182.5 kB / 1.316 GB, free: 8.668 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002758/0.3695, allocations: 79.81 kB / 1.316 GB, free: 8.59 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3695, allocations: 4 kB / 1.316 GB, free: 8.586 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3695, allocations: 96 / 1.316 GB, free: 8.586 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.37, allocations: 474 kB / 1.316 GB, free: 8.121 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.3703, allocations: 232.5 kB / 1.316 GB, free: 7.867 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3707, allocations: 0.693 MB / 1.317 GB, free: 7.148 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0002146/0.3709, allocations: 60.58 kB / 1.317 GB, free: 7.086 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.3709, allocations: 15.44 kB / 1.317 GB, free: 7.07 MB / 1.014 GB
Notification: Performance of SimCode: time 4.91e-07/0.3709, allocations: 3.938 kB / 1.317 GB, free: 7.066 MB / 1.014 GB
Notification: Performance of Templates: time 0.005073/0.376, allocations: 1.771 MB / 1.319 GB, free: 5.332 MB / 1.014 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=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.841930899769068]