Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 105.9 kB / 16.27 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 192.3 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 74.67 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3011, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00223/0.3034, allocations: 0.5927 MB / 0.9509 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003623/0.3038, allocations: 75.78 kB / 0.9509 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.3038, allocations: 0 / 0.9509 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.3038, allocations: 3.938 kB / 0.9509 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.3039, allocations: 11.98 kB / 0.9509 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.3043, allocations: 43.89 kB / 0.951 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.3044, allocations: 27.95 kB / 0.951 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.3044, allocations: 0 / 0.951 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.3045, allocations: 12 kB / 0.951 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.3047, allocations: 75.86 kB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3047, allocations: 0 / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3048, allocations: 39.89 kB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.3049, allocations: 20 kB / 0.9512 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.3049, allocations: 19.81 kB / 0.9512 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3051, allocations: 71.78 kB / 0.9512 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3051, allocations: 0 / 0.9512 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3051, allocations: 0 / 0.9512 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3051, allocations: 0 / 0.9512 GB, free: 7.891 MB / 0.7325 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.0004142/0.3055, allocations: 363.7 kB / 0.9516 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3056, allocations: 8.031 kB / 0.9516 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.3056, allocations: 8.844 kB / 0.9516 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3058, allocations: 164.3 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3058, allocations: 8.375 kB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3058, allocations: 4.359 kB / 0.9518 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.3061, allocations: 177 kB / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3061, allocations: 3.938 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.3061, allocations: 7.984 kB / 0.952 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.3062, allocations: 31.97 kB / 0.952 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.3063, allocations: 35.91 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.307, allocations: 0.9061 MB / 0.9529 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.3071, allocations: 169.1 kB / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.3071, allocations: 80.14 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3072, allocations: 75.28 kB / 0.9532 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.3072, allocations: 121.8 kB / 0.9533 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3072, allocations: 0 / 0.9533 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/0.3073, allocations: 29.7 kB / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/0.3075, allocations: 391.7 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3077, allocations: 163.7 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3077, allocations: 29.7 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.3078, allocations: 151.1 kB / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.3079, allocations: 4 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.3079, allocations: 57.61 kB / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.308, allocations: 326.8 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.3081, allocations: 23.98 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.3083, allocations: 214.5 kB / 0.9547 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.3085, allocations: 205.7 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3085, allocations: 0 / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000321/0.3088, allocations: 189.1 kB / 0.955 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3089, allocations: 8 kB / 0.955 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3089, allocations: 7.938 kB / 0.955 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.3089, allocations: 12.59 kB / 0.9551 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.309, allocations: 39.92 kB / 0.9551 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.3091, allocations: 19.92 kB / 0.9551 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3092, allocations: 27.69 kB / 0.9551 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3092, allocations: 15.98 kB / 0.9552 GB, free: 3.391 MB / 0.7325 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.0001285/0.3093, allocations: 211 kB / 0.9554 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.3094, allocations: 115 kB / 0.9555 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.3095, allocations: 116.7 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-05/0.3095, allocations: 192.1 kB / 0.9558 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.625e-05/0.3096, allocations: 180.3 kB / 0.9559 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.087e-05/0.3097, allocations: 184.2 kB / 0.9561 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.3099, allocations: 413.2 kB / 0.9565 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/0.31, allocations: 116.9 kB / 0.9566 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.31, allocations: 101 kB / 0.9567 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.273e-05/0.3101, allocations: 180.3 kB / 0.9569 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.3101, allocations: 184.2 kB / 0.9571 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.449e-05/0.3102, allocations: 180.2 kB / 0.9572 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.461e-05/0.3103, allocations: 180.2 kB / 0.9574 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3104, allocations: 315.7 kB / 0.9577 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.3105, allocations: 186 kB / 0.9579 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.3106, allocations: 176.3 kB / 0.9581 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.3107, allocations: 120.9 kB / 0.9582 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.3108, allocations: 180.5 kB / 0.9583 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.3109, allocations: 113 kB / 0.9584 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.158e-05/0.311, allocations: 117.1 kB / 0.9586 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.311, allocations: 0 / 0.9586 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003413/0.3113, allocations: 28 kB / 0.9586 GB, free: 15.66 MB / 0.7481 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.0002194/0.3115, allocations: 194.5 kB / 0.9588 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.3117, allocations: 76.69 kB / 0.9588 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3117, allocations: 4 kB / 0.9588 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3117, allocations: 0 / 0.9588 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3121, allocations: 468.8 kB / 0.9593 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.3125, allocations: 262.8 kB / 0.9595 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.3127, allocations: 0.689 MB / 0.9602 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.3128, allocations: 19.38 kB / 0.9602 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.3128, allocations: 0 / 0.9602 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.004997/0.3178, allocations: 1.711 MB / 0.9619 GB, free: 12.21 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches