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.001502/0.001502, allocations: 100.1 kB / 15.88 MB, free: 12 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.001708/0.001708, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.387/2.387, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/0.7348, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001947/0.7369, allocations: 0.6724 MB / 0.9502 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003576/0.7372, allocations: 75.28 kB / 0.9503 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.7373, allocations: 0 / 0.9503 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.7373, allocations: 0 / 0.9503 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.7374, allocations: 8.047 kB / 0.9503 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.7376, allocations: 28.94 kB / 0.9503 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.7377, allocations: 37.34 kB / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.7378, allocations: 3.312 kB / 0.9504 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.7378, allocations: 18.75 kB / 0.9504 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.738, allocations: 62.19 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.738, allocations: 1.375 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.7381, allocations: 35.77 kB / 0.9505 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.7382, allocations: 22.08 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.7382, allocations: 21.67 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.7383, allocations: 46.91 kB / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7383, allocations: 0 / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7383, allocations: 0 / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7384, allocations: 4 kB / 0.9506 GB, free: 8.441 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.0002986/0.7387, allocations: 356.8 kB / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7387, allocations: 13.56 kB / 0.9509 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.7387, allocations: 8.969 kB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.963e-05/0.7388, allocations: 169.7 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.7388, allocations: 1.75 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.7388, allocations: 7.109 kB / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.7391, allocations: 177.8 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7391, allocations: 1.375 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.7391, allocations: 5.359 kB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.7391, allocations: 23.09 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.339e-05/0.7392, allocations: 48.45 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.7397, allocations: 0.8989 MB / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/0.7398, allocations: 170.5 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.7398, allocations: 80.14 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.7398, allocations: 76.66 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.7398, allocations: 119.2 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.7399, allocations: 0 / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.528e-05/0.7399, allocations: 39.05 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.74, allocations: 390.5 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.7402, allocations: 168.6 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.7402, allocations: 30.95 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.7402, allocations: 148.4 kB / 0.9534 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-06/0.7403, allocations: 5.406 kB / 0.9534 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.7403, allocations: 52.14 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.7404, allocations: 325.9 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.7404, allocations: 27.81 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.7406, allocations: 222.8 kB / 0.954 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.7407, allocations: 205.3 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7407, allocations: 1.219 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002929/0.741, allocations: 192.8 kB / 0.9544 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.741, allocations: 8.031 kB / 0.9544 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7411, allocations: 9.625 kB / 0.9544 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.7411, allocations: 10.09 kB / 0.9544 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.7412, allocations: 41.52 kB / 0.9545 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7412, allocations: 6.656 kB / 0.9545 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.7413, allocations: 27.72 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.7413, allocations: 9.25 kB / 0.9545 GB, free: 4.5 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.99e-05/0.7414, allocations: 216.2 kB / 0.9547 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.7415, allocations: 118.3 kB / 0.9548 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.7415, allocations: 116.7 kB / 0.9549 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.7415, allocations: 181.4 kB / 0.9551 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.477e-05/0.7416, allocations: 181.6 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.7416, allocations: 184.3 kB / 0.9555 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.7417, allocations: 420.7 kB / 0.9559 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.7418, allocations: 106.7 kB / 0.956 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.7418, allocations: 101 kB / 0.9561 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.229e-05/0.7418, allocations: 182 kB / 0.9562 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.7418, allocations: 180.2 kB / 0.9564 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.372e-05/0.7419, allocations: 195.1 kB / 0.9566 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-05/0.7419, allocations: 176.3 kB / 0.9568 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.546e-05/0.742, allocations: 308.5 kB / 0.957 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.742, allocations: 188.1 kB / 0.9572 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.742, allocations: 187.8 kB / 0.9574 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.7421, allocations: 111.7 kB / 0.9575 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.7421, allocations: 181.5 kB / 0.9577 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.7422, allocations: 105 kB / 0.9578 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.111e-05/0.7422, allocations: 117.4 kB / 0.9579 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7422, allocations: 0 / 0.9579 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003132/0.7425, allocations: 25.88 kB / 0.9579 GB, free: 0.8789 MB / 0.7169 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.0001686/0.7427, allocations: 189.1 kB / 0.9581 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.7429, allocations: 71.44 kB / 0.9582 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7429, allocations: 2.781 kB / 0.9582 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.7429, allocations: 4.031 kB / 0.9582 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.7432, allocations: 0.5429 MB / 0.9587 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.7435, allocations: 264.8 kB / 0.959 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.7438, allocations: 0.6994 MB / 0.9596 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.7438, allocations: 18.59 kB / 0.9597 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7438, allocations: 0.8438 kB / 0.9597 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.003751/0.7476, allocations: 1.691 MB / 0.9613 GB, free: 14.34 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