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.002399/0.002399, allocations: 114.8 kB / 17.13 MB, free: 5.926 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.002693/0.002693, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.677/1.677, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.967/2.967, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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.002085/0.002085, allocations: 79.88 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.956, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001503/0.9575, allocations: 0.6007 MB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.9578, allocations: 70.08 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.9578, allocations: 0 / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.9578, allocations: 3.938 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.9579, allocations: 8.344 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.9582, allocations: 42.88 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.89e-05/0.9582, allocations: 23.98 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.9583, allocations: 4 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.46e-05/0.9583, allocations: 18.83 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.9585, allocations: 68.94 kB / 1.323 GB, free: 24.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.9585, allocations: 3.938 kB / 1.323 GB, free: 24.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.9586, allocations: 41.16 kB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.9586, allocations: 22.94 kB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.9586, allocations: 17.47 kB / 1.323 GB, free: 24.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.9587, allocations: 67.19 kB / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9587, allocations: 0 / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9587, allocations: 0 / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.9587, allocations: 0 / 1.323 GB, free: 24.5 MB / 1.061 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.000275/0.959, allocations: 371.8 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.9591, allocations: 12.52 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.9591, allocations: 10.7 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.936e-05/0.9592, allocations: 164.3 kB / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.9592, allocations: 7.625 kB / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.9592, allocations: 384 / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.9594, allocations: 182.9 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.9594, allocations: 3.938 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.9594, allocations: 2.719 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.9594, allocations: 23.42 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.9595, allocations: 39.09 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.96, allocations: 0.907 MB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.96, allocations: 165.1 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.96, allocations: 88.08 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.96, allocations: 78.7 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.9601, allocations: 116.7 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.9601, allocations: 3.984 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.036e-05/0.9601, allocations: 35.34 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.9602, allocations: 386.5 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.9603, allocations: 165.2 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.9603, allocations: 35.64 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.9604, allocations: 146.8 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.9604, allocations: 10.11 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.9605, allocations: 47.03 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.9605, allocations: 325.2 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.9605, allocations: 23.95 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.9606, allocations: 226.2 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.9608, allocations: 208 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.9608, allocations: 2.844 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002531/0.961, allocations: 193.6 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.961, allocations: 5.562 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.961, allocations: 5.625 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9611, allocations: 9.25 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.9612, allocations: 42.91 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9612, allocations: 5.562 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.9613, allocations: 34.66 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.9613, allocations: 18.05 kB / 1.327 GB, free: 20.69 MB / 1.061 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 7.917e-05/0.9614, allocations: 217.3 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.9614, allocations: 112.6 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.9614, allocations: 107.6 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.9615, allocations: 187.5 kB / 1.327 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/0.9615, allocations: 178.9 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.9615, allocations: 184.2 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.9616, allocations: 418.6 kB / 1.328 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.9617, allocations: 107.6 kB / 1.328 GB, free: 19.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.9617, allocations: 104.9 kB / 1.328 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.577e-05/0.9617, allocations: 185.1 kB / 1.329 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.9617, allocations: 182.8 kB / 1.329 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.253e-05/0.9618, allocations: 180.2 kB / 1.329 GB, free: 18.49 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.7e-05/0.9618, allocations: 190.6 kB / 1.329 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.077e-05/0.9618, allocations: 309 kB / 1.329 GB, free: 17.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.9619, allocations: 191.2 kB / 1.33 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.9619, allocations: 176.3 kB / 1.33 GB, free: 17.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.962, allocations: 125.5 kB / 1.33 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.962, allocations: 176.3 kB / 1.33 GB, free: 17.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.962, allocations: 105 kB / 1.33 GB, free: 17.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.9621, allocations: 118.4 kB / 1.33 GB, free: 17.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9621, allocations: 0 / 1.33 GB, free: 17.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003073/0.9624, allocations: 26.22 kB / 1.33 GB, free: 17.1 MB / 1.061 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.0001482/0.9625, allocations: 193.9 kB / 1.33 GB, free: 16.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.9627, allocations: 70.69 kB / 1.331 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9627, allocations: 0 / 1.331 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.9627, allocations: 1.312 kB / 1.331 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.9629, allocations: 473.8 kB / 1.331 GB, free: 16.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.9632, allocations: 262.9 kB / 1.331 GB, free: 16.22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.9633, allocations: 0.6917 MB / 1.332 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.9633, allocations: 15.16 kB / 1.332 GB, free: 15.52 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.9633, allocations: 0 / 1.332 GB, free: 15.52 MB / 1.061 GB Notification: Performance of Templates: time 0.003705/0.967, allocations: 1.712 MB / 1.334 GB, free: 15.39 MB / 1.061 GB " [Timeout remaining time 299] 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: 12.060545494998223]