Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005976/0.005976, allocations: 95.89 kB / 15.73 MB, free: 6.039 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.001416/0.001416, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002166/0.3418, allocations: 0.6166 MB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003894/0.3422, allocations: 67.84 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.3422, allocations: 0 / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.3423, allocations: 4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.3423, allocations: 15.92 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3426, allocations: 35.95 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.632e-05/0.3427, allocations: 31.89 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.3428, allocations: 4 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.3428, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.343, allocations: 71.86 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.343, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3431, allocations: 43.95 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.3432, allocations: 15.94 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.3432, allocations: 19.86 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3434, allocations: 67.73 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3434, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3434, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3434, allocations: 3.938 kB / 1.222 GB, free: 12.79 MB / 0.9825 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.0003991/0.3438, allocations: 368.5 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3438, allocations: 8.031 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.3438, allocations: 8.891 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.3439, allocations: 172.3 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.344, allocations: 8.375 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.344, allocations: 8.359 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3442, allocations: 176.3 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3442, allocations: 4 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.3443, allocations: 3.984 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.3443, allocations: 23.98 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.3444, allocations: 39.84 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.3452, allocations: 0.9063 MB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3453, allocations: 169.1 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.3453, allocations: 85.98 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3454, allocations: 75.28 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.164e-05/0.3454, allocations: 109.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.3454, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.825e-05/0.3455, allocations: 41.66 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002238/0.3458, allocations: 395.6 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3459, allocations: 160.2 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.346, allocations: 29.7 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3461, allocations: 159.4 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.3461, allocations: 0 / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.3461, allocations: 61.66 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3463, allocations: 326.8 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.3463, allocations: 23.98 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.3465, allocations: 215.1 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3467, allocations: 197.8 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3467, allocations: 4 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003041/0.347, allocations: 189.1 kB / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.347, allocations: 8 kB / 1.225 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.347, allocations: 4 kB / 1.225 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.347, allocations: 12.59 kB / 1.225 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3472, allocations: 43.91 kB / 1.225 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3472, allocations: 11.94 kB / 1.225 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.3473, allocations: 27.84 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3473, allocations: 15.98 kB / 1.226 GB, free: 8.281 MB / 0.9825 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.0001408/0.3474, allocations: 213 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.3475, allocations: 109 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.3476, allocations: 124.8 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/0.3477, allocations: 188.2 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.079e-05/0.3477, allocations: 180.2 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.51e-05/0.3478, allocations: 176.3 kB / 1.226 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.348, allocations: 421.2 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.415e-05/0.3481, allocations: 104.9 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.3481, allocations: 101 kB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.045e-05/0.3482, allocations: 188.2 kB / 1.227 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.3483, allocations: 184.2 kB / 1.227 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.796e-05/0.3484, allocations: 176.3 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.525e-05/0.3484, allocations: 184.2 kB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.3486, allocations: 323.9 kB / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.3487, allocations: 186.1 kB / 1.228 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/0.3488, allocations: 192.1 kB / 1.228 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.3489, allocations: 109 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.3489, allocations: 184.2 kB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.349, allocations: 104.9 kB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.934e-05/0.349, allocations: 121.1 kB / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.349, allocations: 0 / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003658/0.3494, allocations: 24 kB / 1.229 GB, free: 4.543 MB / 0.9825 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.0002415/0.3497, allocations: 190.5 kB / 1.229 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.3498, allocations: 72.72 kB / 1.229 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3498, allocations: 0 / 1.229 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.3498, allocations: 4 kB / 1.229 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3502, allocations: 469.3 kB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.3506, allocations: 232.9 kB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3509, allocations: 0.6968 MB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.3511, allocations: 52.59 kB / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.3512, allocations: 11.44 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.3512, allocations: 0 / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.004722/0.3559, allocations: 1.695 MB / 1.232 GB, free: 1.113 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches