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.001477/0.001477, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001477/0.001477, allocations: 210.5 kB / 23 MB, free: 4.934 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.503/3.503, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 65.77 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4533, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00246/0.4557, allocations: 0.6023 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.4561, allocations: 67.8 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.4562, allocations: 0 / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.4562, allocations: 0 / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.4563, allocations: 11.92 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.4566, allocations: 47.94 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.69e-05/0.4567, allocations: 31.91 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.4568, allocations: 4.344 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.005e-05/0.4568, allocations: 11.98 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.457, allocations: 75.86 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.4571, allocations: 0 / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.4572, allocations: 39.95 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.4572, allocations: 23.92 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.4573, allocations: 11.94 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.4575, allocations: 67.81 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4575, allocations: 4 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4575, allocations: 0 / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4575, allocations: 0 / 1.328 GB, free: 15.95 MB / 1.029 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.0004403/0.4579, allocations: 290.1 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.458, allocations: 8.031 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.458, allocations: 8.891 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4581, allocations: 114.5 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4581, allocations: 384 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4582, allocations: 8.359 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.4586, allocations: 436.4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4586, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.4587, allocations: 15.94 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.4587, allocations: 23.97 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.4588, allocations: 43.83 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.4597, allocations: 0.8474 MB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4598, allocations: 177 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.4598, allocations: 80.14 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.4598, allocations: 75.28 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.233e-05/0.4599, allocations: 109.8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4599, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.46, allocations: 29.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/0.4602, allocations: 328.4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.4604, allocations: 175.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.4604, allocations: 25.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.4605, allocations: 151.5 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.4606, allocations: 7.984 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.4606, allocations: 57.66 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4608, allocations: 318.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.4609, allocations: 23.98 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.4613, allocations: 482 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.4615, allocations: 201.8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.4615, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003634/0.4619, allocations: 185.2 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4619, allocations: 15.92 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4619, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.4619, allocations: 8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.4621, allocations: 36.58 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.4621, allocations: 15.88 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4622, allocations: 35.84 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.4623, allocations: 12 kB / 1.332 GB, free: 11.12 MB / 1.029 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.0001808/0.4624, allocations: 213 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.4625, allocations: 112.9 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.4626, allocations: 120.7 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.827e-05/0.4627, allocations: 180.3 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.377e-05/0.4628, allocations: 104.9 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.4628, allocations: 112.9 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.463, allocations: 180.3 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4631, allocations: 124.8 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.4632, allocations: 176.3 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001364/0.4633, allocations: 259.5 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002628/0.4636, allocations: 398.9 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.109e-05/0.4637, allocations: 101 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.021e-05/0.4637, allocations: 116.9 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of Backend: time 5.11e-07/0.4637, allocations: 0 / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005665/0.4643, allocations: 159 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007799/0.4651, allocations: 0.9145 MB / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of Templates: time 0.004691/0.4698, allocations: 1.378 MB / 1.337 GB, free: 6.391 MB / 1.029 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/jenkins1/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.879152132001764]