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.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.001221/0.001221, allocations: 110 kB / 18.93 MB, free: 2.945 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.001302/0.001302, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.365/1.365, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.039/3.039, allocations: 495.7 MB / 0.7831 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.56 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3633, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001904/0.3652, allocations: 0.6061 MB / 1.308 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003652/0.3656, allocations: 71.84 kB / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.3656, allocations: 0 / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.3656, allocations: 0 / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.3657, allocations: 11.92 kB / 1.308 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.3661, allocations: 43.94 kB / 1.308 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.752e-05/0.3662, allocations: 31.84 kB / 1.308 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.3662, allocations: 4.406 kB / 1.308 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.3662, allocations: 15.98 kB / 1.308 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.3665, allocations: 75.86 kB / 1.308 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3665, allocations: 0 / 1.308 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3666, allocations: 43.94 kB / 1.308 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.3667, allocations: 16 kB / 1.308 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3667, allocations: 19.81 kB / 1.308 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3669, allocations: 75.66 kB / 1.308 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3669, allocations: 0 / 1.308 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3669, allocations: 0 / 1.308 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3669, allocations: 0 / 1.308 GB, free: 0.8633 MB / 0.9981 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.0003886/0.3673, allocations: 290.2 kB / 1.308 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3673, allocations: 8.922 kB / 1.308 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.3674, allocations: 8.891 kB / 1.308 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.3675, allocations: 118.5 kB / 1.308 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3675, allocations: 384 / 1.308 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3675, allocations: 8.359 kB / 1.308 GB, free: 392 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3677, allocations: 175.4 kB / 1.309 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3678, allocations: 4 kB / 1.309 GB, free: 188 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3678, allocations: 3.984 kB / 1.309 GB, free: 184 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.3678, allocations: 23.97 kB / 1.309 GB, free: 160 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.3679, allocations: 51.83 kB / 1.309 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.3687, allocations: 0.8703 MB / 1.309 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3688, allocations: 173.1 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.3688, allocations: 80.14 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.3688, allocations: 79.28 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/0.3689, allocations: 109.8 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3689, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.05e-05/0.369, allocations: 41.59 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/0.3692, allocations: 383.7 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3694, allocations: 172.5 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3694, allocations: 29.7 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3695, allocations: 155.5 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.3695, allocations: 8 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.3696, allocations: 49.66 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3697, allocations: 322.8 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.3698, allocations: 27.97 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.37, allocations: 222.5 kB / 1.311 GB, free: 13.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.3702, allocations: 189.8 kB / 1.311 GB, free: 12.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3702, allocations: 8 kB / 1.311 GB, free: 12.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000313/0.3705, allocations: 189.7 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3705, allocations: 8.125 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3706, allocations: 11.94 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3706, allocations: 7.938 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3707, allocations: 47.86 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3707, allocations: 7.984 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.3708, allocations: 31.78 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3708, allocations: 8.094 kB / 1.312 GB, free: 12.55 MB / 1.014 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.0001669/0.371, allocations: 217.7 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.3711, allocations: 124.9 kB / 1.312 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.865e-05/0.3711, allocations: 108.8 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.531e-05/0.3712, allocations: 184.2 kB / 1.312 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.47e-05/0.3713, allocations: 184.2 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-05/0.3714, allocations: 180.3 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3717, allocations: 392.2 kB / 1.313 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-05/0.3717, allocations: 105 kB / 1.313 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.3718, allocations: 109 kB / 1.313 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.4e-05/0.3718, allocations: 180.2 kB / 1.313 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.3719, allocations: 176.3 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.7e-05/0.372, allocations: 184.1 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-05/0.3721, allocations: 184.3 kB / 1.314 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.3722, allocations: 311.8 kB / 1.314 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.3723, allocations: 108.9 kB / 1.314 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.203e-05/0.3724, allocations: 180.2 kB / 1.315 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3725, allocations: 112.9 kB / 1.315 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.3726, allocations: 192.5 kB / 1.315 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.3726, allocations: 105 kB / 1.315 GB, free: 9.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.978e-05/0.3727, allocations: 117.3 kB / 1.315 GB, free: 8.977 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3727, allocations: 0 / 1.315 GB, free: 8.977 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003147/0.373, allocations: 31.94 kB / 1.315 GB, free: 8.945 MB / 1.014 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.000226/0.3732, allocations: 182.5 kB / 1.315 GB, free: 8.758 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3734, allocations: 75.81 kB / 1.315 GB, free: 8.684 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3734, allocations: 4 kB / 1.315 GB, free: 8.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.3734, allocations: 3.938 kB / 1.315 GB, free: 8.676 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3738, allocations: 469 kB / 1.316 GB, free: 8.215 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.3742, allocations: 228.5 kB / 1.316 GB, free: 7.965 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3745, allocations: 0.693 MB / 1.317 GB, free: 7.246 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.3747, allocations: 60.52 kB / 1.317 GB, free: 7.184 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.3747, allocations: 15.44 kB / 1.317 GB, free: 7.168 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.3747, allocations: 0 / 1.317 GB, free: 7.168 MB / 1.014 GB Notification: Performance of Templates: time 0.004965/0.3797, allocations: 1.774 MB / 1.318 GB, free: 5.43 MB / 1.014 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.567422867752612]