Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001782/0.001782, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002935/0.002935, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.275/3.275, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002128/0.002128, allocations: 66.42 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3435, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001735/0.3452, allocations: 0.6133 MB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003312/0.3455, allocations: 63.86 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.3455, allocations: 4 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.3456, allocations: 3.938 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.3456, allocations: 4 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.3459, allocations: 51.81 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.346, allocations: 23.97 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.346, allocations: 4.406 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.611e-05/0.3461, allocations: 15.92 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3463, allocations: 67.94 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3463, allocations: 4 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3464, allocations: 43.94 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.3464, allocations: 19.92 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.3464, allocations: 23.86 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3466, allocations: 67.73 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3466, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3466, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.3466, allocations: 0 / 1.365 GB, free: 12.53 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.0003595/0.347, allocations: 290.1 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.347, allocations: 8.031 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.347, allocations: 12.89 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.3471, allocations: 110.5 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3471, allocations: 384 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3471, allocations: 4.375 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.3476, allocations: 442.3 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3476, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3476, allocations: 8 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.3476, allocations: 23.92 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.3477, allocations: 35.91 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.3484, allocations: 0.8474 MB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3485, allocations: 185.1 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.3486, allocations: 80.14 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.3486, allocations: 75.28 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.3487, allocations: 109.8 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3487, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.903e-05/0.3488, allocations: 37.59 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/0.349, allocations: 391.7 kB / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3492, allocations: 179.3 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3492, allocations: 25.7 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3493, allocations: 147.5 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.3493, allocations: 7.984 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.3494, allocations: 57.66 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3495, allocations: 322.8 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.3496, allocations: 27.97 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.3499, allocations: 482.1 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.3501, allocations: 201.8 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3501, allocations: 3.938 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003286/0.3505, allocations: 193.7 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3505, allocations: 8 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3505, allocations: 8 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3505, allocations: 8 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3506, allocations: 35.92 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.3506, allocations: 15.92 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.3507, allocations: 27.84 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3508, allocations: 12 kB / 1.369 GB, free: 7.629 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 0.0001491/0.3509, allocations: 214.1 kB / 1.369 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.351, allocations: 113 kB / 1.369 GB, free: 7.293 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.3511, allocations: 112.8 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-05/0.3511, allocations: 188.2 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.383e-05/0.3512, allocations: 184.2 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.972e-05/0.3513, allocations: 180.3 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.3516, allocations: 372.8 kB / 1.37 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-05/0.3516, allocations: 101 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.3517, allocations: 108.9 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.112e-05/0.3518, allocations: 180.2 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.3518, allocations: 185.3 kB / 1.371 GB, free: 5.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.39e-05/0.3519, allocations: 180.2 kB / 1.371 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.945e-05/0.352, allocations: 180.3 kB / 1.371 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3522, allocations: 323.6 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.3523, allocations: 108.9 kB / 1.372 GB, free: 4.797 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.3524, allocations: 180.2 kB / 1.372 GB, free: 4.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.3525, allocations: 105 kB / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.3526, allocations: 200.4 kB / 1.372 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.3526, allocations: 101 kB / 1.372 GB, free: 4.195 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.351e-05/0.3527, allocations: 111.2 kB / 1.372 GB, free: 4.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3527, allocations: 0 / 1.372 GB, free: 4.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003177/0.353, allocations: 28 kB / 1.372 GB, free: 4.059 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.0002159/0.3532, allocations: 186.5 kB / 1.373 GB, free: 3.867 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3534, allocations: 71.77 kB / 1.373 GB, free: 3.797 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3534, allocations: 7.875 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3534, allocations: 1.344 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.3538, allocations: 467.7 kB / 1.373 GB, free: 3.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.3541, allocations: 228.5 kB / 1.373 GB, free: 3.078 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.3542, allocations: 79.97 kB / 1.373 GB, free: 2.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.3544, allocations: 56.59 kB / 1.373 GB, free: 2.922 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.3544, allocations: 15.44 kB / 1.373 GB, free: 2.906 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.3544, allocations: 0 / 1.373 GB, free: 2.906 MB / 1.061 GB Notification: Performance of Templates: time 0.004837/0.3593, allocations: 1.838 MB / 1.375 GB, free: 1.137 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.84885062277317]