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.00138/0.00138, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001585/0.001585, allocations: 213.5 kB / 22.24 MB, free: 4.852 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.92/2.92, allocations: 475.9 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002164/0.002164, allocations: 67.52 kB / 1.117 GB, free: 41.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3093, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001764/0.311, allocations: 0.6115 MB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003292/0.3113, allocations: 71.8 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.3114, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.3114, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.505e-05/0.3114, allocations: 15.92 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.3117, allocations: 43.94 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.3118, allocations: 23.97 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.3118, allocations: 0 / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.56e-05/0.3119, allocations: 15.98 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.3121, allocations: 71.86 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3121, allocations: 3.938 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3122, allocations: 43.94 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.3122, allocations: 19.94 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.3123, allocations: 15.88 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3124, allocations: 63.8 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3124, allocations: 0 / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3124, allocations: 3.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.3124, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 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.0003594/0.3128, allocations: 294.1 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3128, allocations: 15.97 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3128, allocations: 8.891 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.448e-05/0.3129, allocations: 110.5 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3129, allocations: 4.375 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.3129, allocations: 4.359 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.3133, allocations: 434.8 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3133, allocations: 3.938 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3134, allocations: 11.97 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.3134, allocations: 23.98 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.3135, allocations: 35.91 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.3142, allocations: 0.8435 MB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3143, allocations: 169.2 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.3143, allocations: 84.14 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.3144, allocations: 83.22 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/0.3144, allocations: 109.8 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 2.956e-06/0.3144, allocations: 4 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.016e-05/0.3145, allocations: 37.66 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/0.3147, allocations: 387.7 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3149, allocations: 176.8 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3149, allocations: 29.7 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.315, allocations: 155.5 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.315, allocations: 4 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.688e-05/0.3151, allocations: 53.66 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3152, allocations: 326.8 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.3153, allocations: 27.92 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.3156, allocations: 471.6 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.3158, allocations: 205.7 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3158, allocations: 4 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003124/0.3161, allocations: 193.1 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3162, allocations: 4 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3162, allocations: 8.656 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3162, allocations: 4 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3163, allocations: 43.92 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.3163, allocations: 11.88 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/0.3164, allocations: 27.84 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3164, allocations: 12 kB / 1.288 GB, free: 6.051 MB / 0.9825 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.0001467/0.3166, allocations: 216.9 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.3167, allocations: 113 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.3167, allocations: 120.7 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.623e-05/0.3168, allocations: 176.3 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.902e-05/0.3169, allocations: 188.2 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.357e-05/0.317, allocations: 184.2 kB / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.3172, allocations: 380.8 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.3173, allocations: 106.7 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.3173, allocations: 101 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.521e-05/0.3174, allocations: 180.3 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.3175, allocations: 180.2 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.079e-05/0.3175, allocations: 184.2 kB / 1.29 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.521e-05/0.3176, allocations: 180.2 kB / 1.29 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.3178, allocations: 315.7 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.3178, allocations: 112.9 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.318, allocations: 184.3 kB / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.3181, allocations: 112.9 kB / 1.291 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.3181, allocations: 184.2 kB / 1.291 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.3182, allocations: 104.9 kB / 1.291 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.701e-05/0.3183, allocations: 119.2 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3183, allocations: 0 / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003227/0.3186, allocations: 28 kB / 1.292 GB, free: 2.469 MB / 0.9825 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.0002223/0.3188, allocations: 182.5 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.319, allocations: 76.28 kB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.319, allocations: 0 / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.319, allocations: 0 / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3194, allocations: 463.7 kB / 1.292 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.3197, allocations: 236.9 kB / 1.292 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.279e-05/0.3198, allocations: 79.92 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.32, allocations: 57.41 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.32, allocations: 15.44 kB / 1.293 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.32, allocations: 0 / 1.293 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of Templates: time 0.004696/0.3247, allocations: 1.834 MB / 1.294 GB, free: 15.56 MB / 0.9981 GB " [Timeout remaining time 299] 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: 8.827384363859892]