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.001305/0.001305, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001613/0.001613, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.544/2.544, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.7825, allocations: 140.4 MB / 0.9491 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00266/0.7852, allocations: 0.6688 MB / 0.9498 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004653/0.7857, allocations: 75.09 kB / 0.9498 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.7858, allocations: 0 / 0.9498 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.653e-05/0.7858, allocations: 0 / 0.9498 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.7859, allocations: 12.17 kB / 0.9498 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.7864, allocations: 37.33 kB / 0.9499 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.7865, allocations: 34.25 kB / 0.9499 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.438e-05/0.7866, allocations: 6.453 kB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.7866, allocations: 15.73 kB / 0.9499 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.7869, allocations: 69.92 kB / 0.95 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.7869, allocations: 5.562 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.7871, allocations: 37.05 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.7871, allocations: 21.83 kB / 0.9501 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.7872, allocations: 21.8 kB / 0.9501 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.7874, allocations: 66.05 kB / 0.9501 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.7874, allocations: 1.375 kB / 0.9501 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.055e-06/0.7874, allocations: 0 / 0.9501 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7874, allocations: 4 kB / 0.9501 GB, free: 8.293 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.0004271/0.7878, allocations: 360.8 kB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.7879, allocations: 9.625 kB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.788, allocations: 8.969 kB / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7881, allocations: 173.6 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7881, allocations: 5.688 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.7881, allocations: 1.75 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.7885, allocations: 183.2 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7885, allocations: 0 / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.7885, allocations: 2.75 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.7886, allocations: 27.09 kB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.7886, allocations: 36.53 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.7893, allocations: 0.9028 MB / 0.9518 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.349e-05/0.7893, allocations: 170.5 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.7894, allocations: 84.08 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.7894, allocations: 75.28 kB / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.7894, allocations: 116.6 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.7894, allocations: 0 / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.286e-05/0.7895, allocations: 35.11 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.7897, allocations: 386.5 kB / 0.9526 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.7898, allocations: 175.4 kB / 0.9528 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.7898, allocations: 30.92 kB / 0.9528 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.7899, allocations: 141.6 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.034e-06/0.7899, allocations: 5.75 kB / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.79, allocations: 55.73 kB / 0.953 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.7901, allocations: 325.3 kB / 0.9533 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.7901, allocations: 27.94 kB / 0.9534 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.7902, allocations: 213.2 kB / 0.9536 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.7904, allocations: 212.6 kB / 0.9538 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7904, allocations: 2.594 kB / 0.9538 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003103/0.7908, allocations: 191.8 kB / 0.9539 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7908, allocations: 7.5 kB / 0.954 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7908, allocations: 4.125 kB / 0.954 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.7908, allocations: 10.16 kB / 0.954 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.791, allocations: 38.14 kB / 0.954 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.791, allocations: 10.28 kB / 0.954 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-05/0.7911, allocations: 26.56 kB / 0.954 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.7911, allocations: 10 kB / 0.954 GB, free: 4.359 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.0001129/0.7912, allocations: 220.8 kB / 0.9543 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.7913, allocations: 109.7 kB / 0.9544 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.7913, allocations: 121.3 kB / 0.9545 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/0.7914, allocations: 185.4 kB / 0.9547 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.225e-05/0.7914, allocations: 177 kB / 0.9548 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.555e-05/0.7915, allocations: 189.5 kB / 0.955 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.7916, allocations: 417.2 kB / 0.9554 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.7916, allocations: 108.9 kB / 0.9555 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.7917, allocations: 105 kB / 0.9556 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.613e-05/0.7917, allocations: 178.3 kB / 0.9558 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.7917, allocations: 185.7 kB / 0.956 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.191e-05/0.7918, allocations: 189.7 kB / 0.9561 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.927e-05/0.7918, allocations: 181.5 kB / 0.9563 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.117e-05/0.7919, allocations: 307.5 kB / 0.9566 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.7919, allocations: 189.5 kB / 0.9568 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.792, allocations: 186.8 kB / 0.957 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.7921, allocations: 111.4 kB / 0.9571 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.7921, allocations: 177.5 kB / 0.9572 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.7921, allocations: 106.4 kB / 0.9573 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.7922, allocations: 120.3 kB / 0.9574 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7922, allocations: 1.375 kB / 0.9575 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003069/0.7925, allocations: 26.28 kB / 0.9575 GB, free: 0.7305 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.0001893/0.7927, allocations: 192.4 kB / 0.9577 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.7929, allocations: 72 kB / 0.9577 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7929, allocations: 5.25 kB / 0.9577 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.7929, allocations: 0.9062 kB / 0.9577 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.7932, allocations: 471.4 kB / 0.9582 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.7936, allocations: 248.6 kB / 0.9584 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.7938, allocations: 0.6946 MB / 0.9591 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.7941, allocations: 52.31 kB / 0.9591 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.7941, allocations: 18.06 kB / 0.9592 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7941, allocations: 0 / 0.9592 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.004376/0.7985, allocations: 1.785 MB / 0.9609 GB, free: 14.22 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