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.001996/0.001996, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002814/0.002814, allocations: 189.8 kB / 22.1 MB, free: 5.152 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.69/1.69, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.305/3.305, allocations: 495.8 MB / 0.783 GB, free: 33.47 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.002073/0.002073, allocations: 64.2 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3478, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001907/0.3497, allocations: 0.6191 MB / 1.307 GB, free: 1.25 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003355/0.3501, allocations: 71.78 kB / 1.307 GB, free: 1.18 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.3501, allocations: 4 kB / 1.307 GB, free: 1.176 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.3501, allocations: 3.984 kB / 1.307 GB, free: 1.172 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.3502, allocations: 4 kB / 1.307 GB, free: 1.168 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3505, allocations: 47.88 kB / 1.308 GB, free: 1.121 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 6.885e-05/0.3505, allocations: 23.92 kB / 1.308 GB, free: 1.098 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.3506, allocations: 4.406 kB / 1.308 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.3506, allocations: 19.97 kB / 1.308 GB, free: 1.074 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.3508, allocations: 63.94 kB / 1.308 GB, free: 1.012 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3508, allocations: 4 kB / 1.308 GB, free: 1.008 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3509, allocations: 47.88 kB / 1.308 GB, free: 0.9609 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.351, allocations: 15.94 kB / 1.308 GB, free: 0.9453 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.351, allocations: 27.8 kB / 1.308 GB, free: 0.918 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3511, allocations: 63.8 kB / 1.308 GB, free: 0.8555 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3511, allocations: 0 / 1.308 GB, free: 0.8555 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.142e-06/0.3511, allocations: 4 kB / 1.308 GB, free: 0.8516 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.22e-06/0.3511, allocations: 3.938 kB / 1.308 GB, free: 0.8477 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.0003779/0.3515, allocations: 286.2 kB / 1.308 GB, free: 0.5352 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3515, allocations: 8.031 kB / 1.308 GB, free: 0.5273 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.3516, allocations: 12.88 kB / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.116e-05/0.3517, allocations: 114.5 kB / 1.308 GB, free: 388 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3517, allocations: 8.297 kB / 1.308 GB, free: 380 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.3517, allocations: 384 / 1.308 GB, free: 380 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.352, allocations: 183.5 kB / 1.308 GB, free: 172 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.352, allocations: 3.938 kB / 1.308 GB, free: 168 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.352, allocations: 4 kB / 1.308 GB, free: 164 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.352, allocations: 27.97 kB / 1.308 GB, free: 136 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.91e-05/0.3521, allocations: 39.91 kB / 1.308 GB, free: 96 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.3529, allocations: 0.8701 MB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/0.353, allocations: 173.1 kB / 1.309 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.353, allocations: 80.14 kB / 1.31 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.3531, allocations: 79.28 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.3531, allocations: 109.8 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.3531, allocations: 4 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 9.195e-05/0.3532, allocations: 37.66 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/0.3535, allocations: 387.7 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3536, allocations: 171.6 kB / 1.31 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3536, allocations: 25.7 kB / 1.31 GB, free: 14 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3538, allocations: 155.5 kB / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.3538, allocations: 4 kB / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.3538, allocations: 57.66 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.00015/0.354, allocations: 318.8 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.354, allocations: 27.97 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.3543, allocations: 224.8 kB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.3545, allocations: 201.7 kB / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3545, allocations: 0 / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003287/0.3548, allocations: 193.2 kB / 1.311 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3548, allocations: 10.03 kB / 1.311 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3548, allocations: 4 kB / 1.311 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3549, allocations: 7.938 kB / 1.311 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.355, allocations: 39.92 kB / 1.311 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.355, allocations: 12.48 kB / 1.311 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.3551, allocations: 35.72 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3551, allocations: 16 kB / 1.312 GB, free: 12.54 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.0001524/0.3553, allocations: 213.8 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.3554, allocations: 109 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/0.3554, allocations: 112.7 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.137e-05/0.3555, allocations: 188.2 kB / 1.312 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-05/0.3556, allocations: 184.2 kB / 1.312 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-05/0.3557, allocations: 184.2 kB / 1.312 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3559, allocations: 384.3 kB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.356, allocations: 105 kB / 1.313 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.3561, allocations: 108.9 kB / 1.313 GB, free: 10.87 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.422e-05/0.3561, allocations: 176.3 kB / 1.313 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.3562, allocations: 188.1 kB / 1.313 GB, free: 10.5 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-05/0.3563, allocations: 180.3 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.508e-05/0.3564, allocations: 184.2 kB / 1.314 GB, free: 10.13 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.3566, allocations: 307.8 kB / 1.314 GB, free: 9.805 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.3566, allocations: 120.9 kB / 1.314 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/0.3567, allocations: 184.3 kB / 1.314 GB, free: 9.492 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3568, allocations: 112.9 kB / 1.314 GB, free: 9.375 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.3569, allocations: 184.5 kB / 1.315 GB, free: 9.188 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.357, allocations: 105 kB / 1.315 GB, free: 9.078 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.907e-05/0.3571, allocations: 113.9 kB / 1.315 GB, free: 8.969 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.21e-07/0.3571, allocations: 4 kB / 1.315 GB, free: 8.965 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003461/0.3574, allocations: 35.94 kB / 1.315 GB, free: 8.93 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.0002024/0.3576, allocations: 186.5 kB / 1.315 GB, free: 8.738 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001718/0.3578, allocations: 72.69 kB / 1.315 GB, free: 8.668 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3578, allocations: 448 / 1.315 GB, free: 8.668 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.3578, allocations: 4 kB / 1.315 GB, free: 8.664 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3582, allocations: 467.7 kB / 1.316 GB, free: 8.203 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3585, allocations: 232.5 kB / 1.316 GB, free: 7.949 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3589, allocations: 0.6969 MB / 1.316 GB, free: 7.227 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001898/0.3591, allocations: 48.59 kB / 1.317 GB, free: 7.176 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.3591, allocations: 15.44 kB / 1.317 GB, free: 7.16 MB / 1.014 GB
Notification: Performance of SimCode: time 4.91e-07/0.3591, allocations: 4 kB / 1.317 GB, free: 7.156 MB / 1.014 GB
Notification: Performance of Templates: time 0.004874/0.364, allocations: 1.778 MB / 1.318 GB, free: 5.414 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: 9.311357041820884]