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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.117 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.89 kB / 1.059 GB, free: 304 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001874/0.3491, allocations: 0.608 MB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003878/0.3495, allocations: 71.84 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.3495, allocations: 0 / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.3495, allocations: 3.938 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.3496, allocations: 11.98 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.3499, allocations: 51.88 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.35, allocations: 23.97 kB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.3501, allocations: 0 / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.3501, allocations: 15.92 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.3503, allocations: 71.92 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3503, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3504, allocations: 39.89 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.3505, allocations: 19.94 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.3505, allocations: 23.86 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3506, allocations: 67.73 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3506, allocations: 0 / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3506, allocations: 3.938 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3506, allocations: 0 / 1.217 GB, free: 14.25 MB / 0.9669 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.0004307/0.3511, allocations: 363.3 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3511, allocations: 8.031 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.3512, allocations: 8.891 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3513, allocations: 172.3 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3513, allocations: 384 / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3513, allocations: 12.3 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.3516, allocations: 175.5 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3516, allocations: 0 / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3516, allocations: 7.984 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.3517, allocations: 27.92 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.3517, allocations: 39.91 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.3525, allocations: 0.9062 MB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3526, allocations: 165.1 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.3527, allocations: 80.14 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.3527, allocations: 79.28 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/0.3528, allocations: 113.8 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3528, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.838e-05/0.3529, allocations: 37.66 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002179/0.3531, allocations: 387.7 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3533, allocations: 164 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3533, allocations: 33.7 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3534, allocations: 151.5 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.3534, allocations: 4 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.3535, allocations: 53.66 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3536, allocations: 330.8 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.3537, allocations: 23.98 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3539, allocations: 218.5 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3541, allocations: 213.7 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3541, allocations: 4 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003077/0.3544, allocations: 181.2 kB / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3544, allocations: 8 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3545, allocations: 7.984 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3545, allocations: 11.94 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3546, allocations: 40.58 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3546, allocations: 8 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.3547, allocations: 27.89 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3547, allocations: 11.94 kB / 1.221 GB, free: 9.754 MB / 0.9669 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.0001565/0.3549, allocations: 213 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.355, allocations: 113 kB / 1.221 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.511e-05/0.355, allocations: 120.7 kB / 1.221 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.349e-05/0.3551, allocations: 188.1 kB / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.97e-05/0.3552, allocations: 180.3 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.308e-05/0.3553, allocations: 185.2 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.3556, allocations: 417.2 kB / 1.222 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/0.3556, allocations: 109 kB / 1.223 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.3557, allocations: 104.9 kB / 1.223 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.3558, allocations: 184.3 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.3559, allocations: 180.2 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.997e-05/0.356, allocations: 184.2 kB / 1.223 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-05/0.356, allocations: 176.3 kB / 1.223 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3562, allocations: 319.9 kB / 1.224 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.3564, allocations: 194 kB / 1.224 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.3566, allocations: 184.2 kB / 1.224 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3567, allocations: 116.8 kB / 1.224 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3568, allocations: 180.3 kB / 1.224 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.3568, allocations: 101 kB / 1.224 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001089/0.3569, allocations: 117.7 kB / 1.224 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3569, allocations: 4 kB / 1.224 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003785/0.3573, allocations: 27.98 kB / 1.225 GB, free: 6.008 MB / 0.9669 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.0002361/0.3576, allocations: 194.4 kB / 1.225 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.3577, allocations: 69.03 kB / 1.225 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3577, allocations: 4.062 kB / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.3577, allocations: 0 / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3581, allocations: 463.7 kB / 1.225 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.3585, allocations: 244.6 kB / 1.225 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.3588, allocations: 0.689 MB / 1.226 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.359, allocations: 56.59 kB / 1.226 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.359, allocations: 19.44 kB / 1.226 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of SimCode: time 4.8e-07/0.359, allocations: 0 / 1.226 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of Templates: time 0.004751/0.3638, allocations: 1.708 MB / 1.228 GB, free: 2.551 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.020567144267261]