Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001815/0.001815, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.002244/0.002244, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.501/1.501, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.781/2.781, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 1.057 GB, free: 1.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3432, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001796/0.345, allocations: 0.5986 MB / 1.215 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.3453, allocations: 71.84 kB / 1.215 GB, free: 240 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.3454, allocations: 4 kB / 1.215 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.3454, allocations: 3.938 kB / 1.215 GB, free: 232 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.3455, allocations: 4 kB / 1.215 GB, free: 228 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.3457, allocations: 47.88 kB / 1.215 GB, free: 180 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.3458, allocations: 23.97 kB / 1.215 GB, free: 156 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.3459, allocations: 7.984 kB / 1.215 GB, free: 148 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.3459, allocations: 7.938 kB / 1.215 GB, free: 140 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3461, allocations: 71.92 kB / 1.215 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.3461, allocations: 0 / 1.215 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3462, allocations: 43.95 kB / 1.215 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.3462, allocations: 19.92 kB / 1.215 GB, free: 4 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.3463, allocations: 16 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3464, allocations: 67.67 kB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3465, allocations: 0 / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3465, allocations: 0 / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.3465, allocations: 0 / 1.215 GB, free: 15.92 MB / 0.9669 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.0004311/0.3469, allocations: 367.3 kB / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3469, allocations: 16.03 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.347, allocations: 12.83 kB / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3471, allocations: 168.3 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3471, allocations: 384 / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3471, allocations: 12.3 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.3474, allocations: 183.4 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3474, allocations: 3.984 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3474, allocations: 3.984 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.3475, allocations: 27.91 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.3475, allocations: 35.91 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/0.3483, allocations: 0.9062 MB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.3484, allocations: 169.1 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.3485, allocations: 80.14 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.3485, allocations: 79.28 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.3486, allocations: 113.8 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3486, allocations: 0 / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.113e-05/0.3486, allocations: 41.59 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.3489, allocations: 383.7 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.349, allocations: 172.3 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.349, allocations: 25.7 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3491, allocations: 155.5 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/0.3491, allocations: 8 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.3492, allocations: 49.66 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3494, allocations: 326.8 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.761e-05/0.3494, allocations: 27.97 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.3496, allocations: 225.3 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.3498, allocations: 193.7 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3498, allocations: 4 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003187/0.3502, allocations: 193.7 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3502, allocations: 4.062 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3502, allocations: 15.98 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3502, allocations: 7.938 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3503, allocations: 43.92 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3504, allocations: 4 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.3504, allocations: 19.89 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3505, allocations: 16 kB / 1.219 GB, free: 11.41 MB / 0.9669 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.0001429/0.3506, allocations: 209 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.3507, allocations: 124.9 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.948e-05/0.3508, allocations: 116.8 kB / 1.219 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-05/0.3508, allocations: 184.1 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.691e-05/0.3509, allocations: 180.2 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.387e-05/0.351, allocations: 176.4 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.3513, allocations: 429.1 kB / 1.22 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/0.3513, allocations: 105 kB / 1.22 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.3514, allocations: 109.7 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.926e-05/0.3514, allocations: 180.3 kB / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.3515, allocations: 180.2 kB / 1.221 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.909e-05/0.3516, allocations: 184.1 kB / 1.221 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.821e-05/0.3517, allocations: 184.3 kB / 1.221 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3518, allocations: 311.9 kB / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3519, allocations: 194 kB / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-05/0.352, allocations: 184.3 kB / 1.222 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3521, allocations: 112.9 kB / 1.222 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.3522, allocations: 188.2 kB / 1.222 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.3523, allocations: 101 kB / 1.222 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.949e-05/0.3524, allocations: 119.2 kB / 1.222 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3524, allocations: 0 / 1.222 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003217/0.3527, allocations: 24 kB / 1.222 GB, free: 7.66 MB / 0.9669 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.0002218/0.3529, allocations: 186.5 kB / 1.223 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.3531, allocations: 75.72 kB / 1.223 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3531, allocations: 4 kB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3531, allocations: 0 / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.3535, allocations: 473 kB / 1.223 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.3538, allocations: 258.3 kB / 1.223 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3541, allocations: 0.6929 MB / 1.224 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.3541, allocations: 15.44 kB / 1.224 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3541, allocations: 0 / 1.224 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of Templates: time 0.003697/0.3578, allocations: 1.717 MB / 1.226 GB, free: 4.207 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.334066871087998]