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.001297/0.001297, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002561/0.002561, allocations: 208.7 kB / 23.03 MB, free: 4.863 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.77 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 3.245/3.245, allocations: 0.49 GB / 0.7959 GB, free: 35.65 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.002105/0.002105, allocations: 72.45 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00188/0.3886, allocations: 0.6062 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003559/0.3889, allocations: 67.84 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.389, allocations: 0 / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.389, allocations: 3.938 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.389, allocations: 4 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3894, allocations: 51.88 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.3895, allocations: 19.98 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.3895, allocations: 8.391 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.3895, allocations: 8 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.3898, allocations: 75.86 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3898, allocations: 0 / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3899, allocations: 43.94 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.3899, allocations: 15.94 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.39, allocations: 27.84 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.3901, allocations: 63.73 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3901, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.198e-06/0.3901, allocations: 4 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3901, allocations: 3.938 kB / 1.328 GB, free: 15.95 MB / 1.029 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.0004216/0.3906, allocations: 294.1 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3906, allocations: 8.031 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3906, allocations: 8.891 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.3907, allocations: 110.5 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.3908, allocations: 8.359 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3908, allocations: 384 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.3912, allocations: 437.9 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3912, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3913, allocations: 7.984 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.3913, allocations: 23.92 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.3914, allocations: 35.91 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.3921, allocations: 0.8552 MB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3923, allocations: 173.1 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.3923, allocations: 88.12 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.3924, allocations: 75.28 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.202e-05/0.3924, allocations: 109.8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3924, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.906e-05/0.3925, allocations: 29.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/0.3927, allocations: 391.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3929, allocations: 175.3 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3929, allocations: 29.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.393, allocations: 155.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.393, allocations: 3.984 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.3931, allocations: 57.66 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3933, allocations: 322.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.3933, allocations: 27.97 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.3937, allocations: 476.1 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.3939, allocations: 201.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3939, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003265/0.3942, allocations: 193.4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3942, allocations: 8 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3942, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3943, allocations: 4 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3944, allocations: 39.92 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.3944, allocations: 19.91 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.008e-05/0.3945, allocations: 23.84 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3945, allocations: 20.31 kB / 1.332 GB, free: 11.05 MB / 1.029 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.0001451/0.3947, allocations: 220.9 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.3947, allocations: 108.9 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.3948, allocations: 112.9 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.502e-05/0.3949, allocations: 192.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.48e-05/0.395, allocations: 184.2 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.247e-05/0.395, allocations: 180.2 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.3953, allocations: 368.9 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.036e-05/0.3953, allocations: 109 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.3954, allocations: 108.9 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.633e-05/0.3955, allocations: 176.3 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-05/0.3956, allocations: 192.2 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-05/0.3956, allocations: 176.3 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-05/0.3957, allocations: 176.3 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3959, allocations: 323.6 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.3959, allocations: 108.9 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.396, allocations: 180.3 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.3961, allocations: 105 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3962, allocations: 196.4 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.3963, allocations: 109 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001068/0.3964, allocations: 113.1 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3964, allocations: 0 / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003321/0.3967, allocations: 32 kB / 1.336 GB, free: 7.461 MB / 1.029 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.0002526/0.397, allocations: 186.5 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.3972, allocations: 76.83 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3972, allocations: 0 / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.3972, allocations: 32 / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3976, allocations: 475.9 kB / 1.336 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.398, allocations: 269.6 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3981, allocations: 75.98 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.3981, allocations: 15.44 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3981, allocations: 0 / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of Templates: time 0.00407/0.4022, allocations: 1.725 MB / 1.338 GB, free: 4.617 MB / 1.029 GB " [Timeout remaining time 300] 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: 11.790850379969925]