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.00081/0.0008099, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007107/0.007107, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.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.496/2.496, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004968, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8728/0.8733, allocations: 142.4 MB / 0.9551 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008735/0.8742, allocations: 345.3 kB / 0.9554 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.8746, allocations: 66.66 kB / 0.9554 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.8747, allocations: 0 / 0.9554 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.8747, allocations: 3.938 kB / 0.9554 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.8747, allocations: 8.891 kB / 0.9555 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.875, allocations: 36.2 kB / 0.9555 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.8751, allocations: 26.14 kB / 0.9555 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.8752, allocations: 10.89 kB / 0.9555 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.8752, allocations: 14.64 kB / 0.9555 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.8754, allocations: 66.73 kB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.8754, allocations: 0.875 kB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.8756, allocations: 31.81 kB / 0.9556 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.8756, allocations: 22.14 kB / 0.9557 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.8757, allocations: 47.72 kB / 0.9557 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.8758, allocations: 69.44 kB / 0.9558 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.8758, allocations: 0 / 0.9558 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8758, allocations: 0.9375 kB / 0.9558 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.8758, allocations: 0 / 0.9558 GB, free: 7.18 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.0002985/0.8761, allocations: 352 kB / 0.9561 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.8762, allocations: 8.469 kB / 0.9561 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.8762, allocations: 9 kB / 0.9561 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.8763, allocations: 173.4 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.8763, allocations: 1.719 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.8764, allocations: 2.688 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.8766, allocations: 187 kB / 0.9565 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.8766, allocations: 0 / 0.9565 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.8767, allocations: 6.078 kB / 0.9565 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/0.8767, allocations: 20.33 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.8768, allocations: 39.59 kB / 0.9565 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.8773, allocations: 0.8987 MB / 0.9574 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.159e-05/0.8774, allocations: 174.2 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.8774, allocations: 89.16 kB / 0.9577 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.8775, allocations: 75.28 kB / 0.9577 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.8775, allocations: 108 kB / 0.9578 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.8775, allocations: 0 / 0.9578 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.691e-05/0.8776, allocations: 39.17 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.8777, allocations: 390 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.8778, allocations: 173.3 kB / 0.9584 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.8778, allocations: 26.98 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.8779, allocations: 144.5 kB / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/0.8779, allocations: 5.172 kB / 0.9586 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.878, allocations: 23.47 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.878, allocations: 325.1 kB / 0.9589 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/0.8781, allocations: 23.61 kB / 0.9589 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.8782, allocations: 222.5 kB / 0.9591 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.8784, allocations: 200.6 kB / 0.9593 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8784, allocations: 1.312 kB / 0.9593 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002963/0.8787, allocations: 193.3 kB / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.8787, allocations: 6.781 kB / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8787, allocations: 4.719 kB / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8787, allocations: 7.812 kB / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.8789, allocations: 41.52 kB / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.8789, allocations: 12.92 kB / 0.9596 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.879, allocations: 27.16 kB / 0.9596 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.879, allocations: 10.31 kB / 0.9596 GB, free: 3.266 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 0.0001078/0.8791, allocations: 220.2 kB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.8792, allocations: 109.4 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.8792, allocations: 120.8 kB / 0.9601 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.8793, allocations: 185.7 kB / 0.9602 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.333e-05/0.8793, allocations: 185.7 kB / 0.9604 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.8793, allocations: 180.2 kB / 0.9606 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.8795, allocations: 428.4 kB / 0.961 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.8795, allocations: 106.2 kB / 0.9611 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.8795, allocations: 103 kB / 0.9612 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.797e-05/0.8796, allocations: 180.2 kB / 0.9614 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.8796, allocations: 181.2 kB / 0.9615 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-05/0.8796, allocations: 190.7 kB / 0.9617 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.822e-05/0.8797, allocations: 193.8 kB / 0.9619 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.608e-05/0.8798, allocations: 307.5 kB / 0.9622 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.8798, allocations: 185.2 kB / 0.9624 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.8798, allocations: 185.7 kB / 0.9626 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.8799, allocations: 112.1 kB / 0.9627 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.88, allocations: 177.7 kB / 0.9628 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.8801, allocations: 106.2 kB / 0.9629 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.938e-05/0.8801, allocations: 119.3 kB / 0.963 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8801, allocations: 0 / 0.963 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000314/0.8805, allocations: 27.53 kB / 0.9631 GB, free: 15.62 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.0001998/0.8807, allocations: 191.7 kB / 0.9633 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.8808, allocations: 71.72 kB / 0.9633 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8808, allocations: 1.438 kB / 0.9633 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.8809, allocations: 1.312 kB / 0.9633 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.8812, allocations: 0.5373 MB / 0.9638 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.8816, allocations: 242.6 kB / 0.9641 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.8818, allocations: 0.691 MB / 0.9648 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.882, allocations: 56.09 kB / 0.9648 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.8821, allocations: 18.25 kB / 0.9648 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.8821, allocations: 4 kB / 0.9648 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.004684/0.8868, allocations: 1.737 MB / 0.9665 GB, free: 13.07 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/jenkins/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