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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001013/0.001013, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.705, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006761/0.7057, allocations: 345.1 kB / 0.956 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003101/0.7061, allocations: 71.22 kB / 0.9561 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.7061, allocations: 0 / 0.9561 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.7061, allocations: 0 / 0.9561 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.7062, allocations: 7.719 kB / 0.9561 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.7064, allocations: 33.83 kB / 0.9562 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.7065, allocations: 37.42 kB / 0.9562 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.7065, allocations: 2.25 kB / 0.9562 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.7066, allocations: 19.2 kB / 0.9562 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.7068, allocations: 66.42 kB / 0.9563 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.7068, allocations: 0.9375 kB / 0.9563 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.335e-05/0.7069, allocations: 36.67 kB / 0.9563 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.7069, allocations: 21.2 kB / 0.9563 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.707, allocations: 44.67 kB / 0.9564 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.818e-05/0.7071, allocations: 46.22 kB / 0.9564 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7071, allocations: 0 / 0.9564 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7071, allocations: 0 / 0.9564 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.7071, allocations: 0 / 0.9564 GB, free: 7.234 MB / 0.7169 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.0002405/0.7073, allocations: 347.6 kB / 0.9567 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7074, allocations: 9.906 kB / 0.9568 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.7074, allocations: 8.25 kB / 0.9568 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.564e-05/0.7075, allocations: 170.5 kB / 0.9569 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.7075, allocations: 1.406 kB / 0.9569 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.7075, allocations: 6.984 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.7077, allocations: 182.2 kB / 0.9571 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.7078, allocations: 0 / 0.9571 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.7078, allocations: 6.016 kB / 0.9571 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.7078, allocations: 24.02 kB / 0.9571 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.725e-05/0.7079, allocations: 40.39 kB / 0.9572 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.7084, allocations: 0.9022 MB / 0.9581 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.7085, allocations: 166.3 kB / 0.9582 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.7085, allocations: 88.08 kB / 0.9583 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.7085, allocations: 80.53 kB / 0.9584 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.7085, allocations: 112 kB / 0.9585 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7085, allocations: 0 / 0.9585 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.498e-05/0.7086, allocations: 34.98 kB / 0.9585 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.7087, allocations: 394 kB / 0.9589 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.7088, allocations: 165 kB / 0.959 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.7088, allocations: 31.39 kB / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.7089, allocations: 156.8 kB / 0.9592 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.7089, allocations: 5.25 kB / 0.9592 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.7089, allocations: 19.16 kB / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.709, allocations: 326 kB / 0.9596 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.709, allocations: 28.34 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.7091, allocations: 215.6 kB / 0.9598 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.7093, allocations: 205.8 kB / 0.96 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7093, allocations: 1.938 kB / 0.96 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002594/0.7095, allocations: 191.9 kB / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7096, allocations: 11.12 kB / 0.9602 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7096, allocations: 8.656 kB / 0.9602 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7096, allocations: 6.375 kB / 0.9602 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.7097, allocations: 41.95 kB / 0.9602 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7097, allocations: 10 kB / 0.9603 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/0.7098, allocations: 28.44 kB / 0.9603 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.7098, allocations: 9.188 kB / 0.9603 GB, free: 3.309 MB / 0.7169 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 8.113e-05/0.7099, allocations: 215.3 kB / 0.9605 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.71, allocations: 114.3 kB / 0.9606 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.71, allocations: 121.9 kB / 0.9607 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/0.71, allocations: 180.2 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/0.7101, allocations: 182 kB / 0.9611 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.7101, allocations: 180.2 kB / 0.9612 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.7102, allocations: 424.8 kB / 0.9616 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.7103, allocations: 107.2 kB / 0.9617 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.7103, allocations: 101 kB / 0.9618 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/0.7103, allocations: 176.3 kB / 0.962 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.7103, allocations: 185.7 kB / 0.9622 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-05/0.7104, allocations: 183.2 kB / 0.9624 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-05/0.7104, allocations: 189.5 kB / 0.9625 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.17e-05/0.7105, allocations: 311.5 kB / 0.9628 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.7105, allocations: 184.7 kB / 0.963 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.7106, allocations: 182.8 kB / 0.9632 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.7106, allocations: 111.4 kB / 0.9633 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.7107, allocations: 181.5 kB / 0.9635 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.7108, allocations: 106.3 kB / 0.9636 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.15e-05/0.7109, allocations: 120.4 kB / 0.9637 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7109, allocations: 0 / 0.9637 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000304/0.7112, allocations: 27.38 kB / 0.9637 GB, free: 15.69 MB / 0.7325 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.0002048/0.7114, allocations: 184.7 kB / 0.9639 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.7115, allocations: 74.66 kB / 0.964 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7116, allocations: 1.875 kB / 0.964 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.7116, allocations: 96 / 0.964 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.712, allocations: 0.5394 MB / 0.9645 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.7123, allocations: 272.7 kB / 0.9647 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.7126, allocations: 0.6942 MB / 0.9654 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.7126, allocations: 15.78 kB / 0.9654 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.7126, allocations: 0 / 0.9654 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.003543/0.7162, allocations: 1.698 MB / 0.9671 GB, free: 13.15 MB / 0.7325 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