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.001555/0.001555, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001595/0.001595, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.67/2.67, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] 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.002122/0.002123, allocations: 71.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2954, allocations: 151.6 MB / 1.176 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001748/0.2971, allocations: 0.6039 MB / 1.176 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003198/0.2975, allocations: 67.78 kB / 1.177 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.2975, allocations: 0 / 1.177 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.2976, allocations: 0 / 1.177 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.2976, allocations: 15.92 kB / 1.177 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.2979, allocations: 43.95 kB / 1.177 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.298, allocations: 27.91 kB / 1.177 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.2981, allocations: 0 / 1.177 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.2981, allocations: 15.94 kB / 1.177 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2983, allocations: 67.86 kB / 1.177 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.2983, allocations: 0 / 1.177 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2984, allocations: 43.95 kB / 1.177 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.2985, allocations: 16 kB / 1.177 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.2985, allocations: 19.8 kB / 1.177 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2986, allocations: 67.78 kB / 1.177 GB, free: 4.887 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2987, allocations: 3.938 kB / 1.177 GB, free: 4.883 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2987, allocations: 0 / 1.177 GB, free: 4.883 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.2987, allocations: 0 / 1.177 GB, free: 4.883 MB / 0.92 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.0004065/0.2991, allocations: 369.5 kB / 1.177 GB, free: 4.473 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2991, allocations: 11.97 kB / 1.177 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.2992, allocations: 8.891 kB / 1.177 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2993, allocations: 168.3 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2993, allocations: 8.359 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.2993, allocations: 4.375 kB / 1.177 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.2996, allocations: 175.4 kB / 1.178 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2996, allocations: 7.984 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2996, allocations: 3.984 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.2997, allocations: 23.98 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.2997, allocations: 35.91 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.3005, allocations: 0.9105 MB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.43e-05/0.3007, allocations: 165.1 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.3007, allocations: 92.11 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.3007, allocations: 75.28 kB / 1.179 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.224e-05/0.3008, allocations: 113.8 kB / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3008, allocations: 0 / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.508e-05/0.3009, allocations: 37.66 kB / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.3012, allocations: 383.7 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3013, allocations: 167.8 kB / 1.18 GB, free: 1.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3014, allocations: 29.7 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3015, allocations: 155.5 kB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/0.3015, allocations: 3.938 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/0.3016, allocations: 61.66 kB / 1.18 GB, free: 1.605 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.3018, allocations: 322.8 kB / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.3018, allocations: 27.97 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.3021, allocations: 214.5 kB / 1.18 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3023, allocations: 197.8 kB / 1.18 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.3024, allocations: 4 kB / 1.18 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003268/0.3027, allocations: 189.1 kB / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3027, allocations: 8 kB / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3027, allocations: 4 kB / 1.181 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.3028, allocations: 12.59 kB / 1.181 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3029, allocations: 47.92 kB / 1.181 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.3029, allocations: 11.92 kB / 1.181 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.3031, allocations: 27.83 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3031, allocations: 12 kB / 1.181 GB, free: 384 kB / 0.92 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.0001568/0.3032, allocations: 213.1 kB / 1.181 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.3033, allocations: 112.9 kB / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/0.3034, allocations: 120.8 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.73e-05/0.3035, allocations: 184.2 kB / 1.181 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.332e-05/0.3036, allocations: 180.2 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.551e-05/0.3037, allocations: 180.2 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.304, allocations: 421.2 kB / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.386e-05/0.3041, allocations: 104.9 kB / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.3041, allocations: 109 kB / 1.182 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.654e-05/0.3042, allocations: 184.3 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.83e-05/0.3043, allocations: 180.2 kB / 1.183 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-05/0.3044, allocations: 180.2 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000127/0.3045, allocations: 180.2 kB / 1.183 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3047, allocations: 323.7 kB / 1.183 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3048, allocations: 182.3 kB / 1.183 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.3049, allocations: 180.3 kB / 1.184 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3051, allocations: 124.9 kB / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.3052, allocations: 176.3 kB / 1.184 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.3052, allocations: 108.9 kB / 1.184 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.371e-05/0.3053, allocations: 117.7 kB / 1.184 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3053, allocations: 0 / 1.184 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003283/0.3057, allocations: 24 kB / 1.184 GB, free: 12.64 MB / 0.9356 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.0002829/0.306, allocations: 190.5 kB / 1.184 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.3061, allocations: 76.59 kB / 1.184 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3062, allocations: 0 / 1.184 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3062, allocations: 0 / 1.184 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.3067, allocations: 467.7 kB / 1.185 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.307, allocations: 254.8 kB / 1.185 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3074, allocations: 0.6968 MB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.3074, allocations: 15.44 kB / 1.186 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3074, allocations: 0 / 1.186 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.003815/0.3112, allocations: 1.723 MB / 1.188 GB, free: 9.188 MB / 0.9356 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: 10.501358596957289]