Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008036/0.0008036, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007658/0.0007658, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.856/0.856, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.603/1.603, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.938 kB / 0.9518 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.074e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001231/0.001262, allocations: 0.6034 MB / 0.9524 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002816/0.001544, allocations: 71.78 kB / 0.9524 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.001565, allocations: 0 / 0.9524 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.0016, allocations: 0 / 0.9524 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.001654, allocations: 15.92 kB / 0.9525 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.00198, allocations: 51.88 kB / 0.9525 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.002046, allocations: 23.84 kB / 0.9525 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.002089, allocations: 3.984 kB / 0.9525 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.002133, allocations: 23.91 kB / 0.9526 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.002329, allocations: 67.94 kB / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.002344, allocations: 0 / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.00243, allocations: 47.88 kB / 0.9527 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.002467, allocations: 19.92 kB / 0.9527 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.002489, allocations: 11.98 kB / 0.9527 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.002623, allocations: 71.86 kB / 0.9528 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.002625, allocations: 0 / 0.9528 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002626, allocations: 4 kB / 0.9528 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002631, allocations: 0 / 0.9528 GB, free: 1.941 MB / 0.9011 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.0002843/0.002915, allocations: 286.1 kB / 0.953 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.002953, allocations: 15.97 kB / 0.9531 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.002991, allocations: 8.891 kB / 0.9531 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.892e-05/0.00306, allocations: 113.7 kB / 0.9532 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.003071, allocations: 4.375 kB / 0.9532 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.003081, allocations: 4.359 kB / 0.9532 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.003372, allocations: 438.8 kB / 0.9536 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.003381, allocations: 8.188 kB / 0.9536 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.003398, allocations: 12.11 kB / 0.9536 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.003431, allocations: 19.98 kB / 0.9536 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/0.003483, allocations: 35.91 kB / 0.9537 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.004021, allocations: 0.8435 MB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.004093, allocations: 165.1 kB / 0.9546 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.004123, allocations: 84.08 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.004145, allocations: 79.28 kB / 0.9548 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.004186, allocations: 113.8 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.004187, allocations: 0 / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.825e-05/0.004255, allocations: 49.58 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.004385, allocations: 383.7 kB / 0.9553 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.004506, allocations: 176.4 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.00452, allocations: 25.7 kB / 0.9555 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.004589, allocations: 159.5 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-06/0.004594, allocations: 4 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.00464, allocations: 57.59 kB / 0.9557 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.00473, allocations: 322.8 kB / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.004762, allocations: 27.92 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.004963, allocations: 471.6 kB / 0.9565 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.00511, allocations: 209.7 kB / 0.9567 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.005114, allocations: 4 kB / 0.9567 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002062/0.00532, allocations: 181.2 kB / 0.9569 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.005335, allocations: 7.984 kB / 0.9569 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.005344, allocations: 8.656 kB / 0.9569 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.005358, allocations: 4 kB / 0.9569 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.005452, allocations: 47.92 kB / 0.957 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.005462, allocations: 7.938 kB / 0.957 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.005521, allocations: 31.78 kB / 0.957 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.005532, allocations: 15.94 kB / 0.957 GB, free: 13.04 MB / 0.9167 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.951e-05/0.005632, allocations: 205 kB / 0.9572 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.00568, allocations: 116.9 kB / 0.9573 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.005724, allocations: 116.7 kB / 0.9574 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/0.00577, allocations: 180.2 kB / 0.9576 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/0.005821, allocations: 180.4 kB / 0.9578 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.327e-05/0.005864, allocations: 188.8 kB / 0.958 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.006004, allocations: 376.8 kB / 0.9583 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.006037, allocations: 104.9 kB / 0.9584 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.006064, allocations: 105 kB / 0.9585 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.356e-05/0.006108, allocations: 180.3 kB / 0.9587 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.006153, allocations: 180.4 kB / 0.9589 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.124e-05/0.006194, allocations: 180.3 kB / 0.959 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-05/0.006242, allocations: 188.2 kB / 0.9592 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.745e-05/0.006339, allocations: 319.7 kB / 0.9595 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.006373, allocations: 108.9 kB / 0.9596 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.006428, allocations: 184.2 kB / 0.9598 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.006487, allocations: 120.9 kB / 0.9599 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.006537, allocations: 180.3 kB / 0.9601 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.006564, allocations: 104.9 kB / 0.9602 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.006618, allocations: 121.1 kB / 0.9603 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006618, allocations: 0 / 0.9603 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000199/0.006817, allocations: 31.94 kB / 0.9603 GB, free: 9.453 MB / 0.9167 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.0001564/0.006973, allocations: 186.5 kB / 0.9605 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.007092, allocations: 72.41 kB / 0.9606 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.007095, allocations: 0 / 0.9606 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.007095, allocations: 0 / 0.9606 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.007363, allocations: 467.7 kB / 0.961 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.007623, allocations: 258.3 kB / 0.9613 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.931e-05/0.007682, allocations: 79.97 kB / 0.9613 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.007701, allocations: 16.5 kB / 0.9614 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of SimCode: time 8.01e-07/0.007702, allocations: 0.6875 kB / 0.9614 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of Templates: time 0.002319/0.01002, allocations: 1.742 MB / 0.9631 GB, free: 6.605 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.6766900243237615]