Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007016/0.007016, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.00143/0.00143, allocations: 193.6 kB / 16.67 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.09 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3488, allocations: 151.6 MB / 1.167 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00165/0.3505, allocations: 0.6056 MB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003384/0.3509, allocations: 59.86 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.3509, allocations: 0 / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.351, allocations: 3.984 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.351, allocations: 11.94 kB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.3513, allocations: 47.94 kB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.3514, allocations: 31.91 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.3515, allocations: 0 / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.3515, allocations: 15.92 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3517, allocations: 63.94 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3517, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3519, allocations: 39.95 kB / 1.168 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.3519, allocations: 19.92 kB / 1.168 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.352, allocations: 19.88 kB / 1.168 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3521, allocations: 67.73 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3521, allocations: 0 / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3521, allocations: 0 / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3521, allocations: 3.938 kB / 1.168 GB, free: 5.895 MB / 0.92 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.0003877/0.3525, allocations: 363.3 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3526, allocations: 8.031 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.3526, allocations: 12.89 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.3527, allocations: 168.3 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3527, allocations: 8.375 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.3528, allocations: 8.344 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.353, allocations: 171.4 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.353, allocations: 0 / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3531, allocations: 11.98 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.3531, allocations: 27.97 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.3532, allocations: 43.8 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.3539, allocations: 0.9024 MB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.516e-05/0.354, allocations: 173.4 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.354, allocations: 80.14 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.3541, allocations: 79.31 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.005e-05/0.3542, allocations: 113.8 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3542, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.626e-05/0.3542, allocations: 37.64 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.3545, allocations: 395.7 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3546, allocations: 164.3 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3546, allocations: 33.69 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.3547, allocations: 151.5 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.3547, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.3548, allocations: 61.66 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.355, allocations: 326.8 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.355, allocations: 23.98 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3552, allocations: 214.5 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.3554, allocations: 201.8 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3554, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002976/0.3557, allocations: 193.1 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.3558, allocations: 8 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3558, allocations: 4 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3558, allocations: 12.59 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3559, allocations: 35.92 kB / 1.171 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.356, allocations: 15.94 kB / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.3561, allocations: 23.89 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3561, allocations: 8 kB / 1.172 GB, free: 1.395 MB / 0.92 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.0001376/0.3562, allocations: 217 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.3563, allocations: 112.9 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.3564, allocations: 116.9 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.418e-05/0.3565, allocations: 188.1 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-05/0.3565, allocations: 184.2 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-05/0.3566, allocations: 176.3 kB / 1.172 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3569, allocations: 429.1 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.85e-05/0.3569, allocations: 105 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.357, allocations: 101 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.245e-05/0.3571, allocations: 188.1 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.3571, allocations: 180.3 kB / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.385e-05/0.3572, allocations: 192.1 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.539e-05/0.3573, allocations: 176.3 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3575, allocations: 315.7 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.3576, allocations: 190 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.3577, allocations: 184.2 kB / 1.174 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3578, allocations: 105.2 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.3579, allocations: 180.3 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.3579, allocations: 112.9 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.782e-05/0.358, allocations: 121.1 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.71e-07/0.358, allocations: 0 / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003401/0.3583, allocations: 28 kB / 1.175 GB, free: 13.64 MB / 0.9356 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.0001966/0.3585, allocations: 186.5 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.3587, allocations: 80.95 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3587, allocations: 0 / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.3587, allocations: 0 / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3591, allocations: 473.6 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.3594, allocations: 227.9 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3597, allocations: 0.6892 MB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.3598, allocations: 52.59 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.3599, allocations: 19.44 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3599, allocations: 0 / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Templates: time 0.004114/0.364, allocations: 1.693 MB / 1.178 GB, free: 10.22 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches