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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001413/0.001413, allocations: 193.1 kB / 22.17 MB, free: 5.652 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.5/1.5, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] 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=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_11_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_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8497, allocations: 168.7 MB / 1.274 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001718/0.8514, allocations: 0.6132 MB / 1.275 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003159/0.8517, allocations: 75.78 kB / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.8517, allocations: 0 / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.8517, allocations: 0 / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.8518, allocations: 11.92 kB / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.8521, allocations: 39.95 kB / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.8522, allocations: 39.83 kB / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.8522, allocations: 0 / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.8522, allocations: 15.98 kB / 1.275 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.8524, allocations: 71.86 kB / 1.275 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.8524, allocations: 0 / 1.275 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.717e-05/0.8525, allocations: 35.95 kB / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.8526, allocations: 16 kB / 1.275 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.8526, allocations: 23.8 kB / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.8528, allocations: 66.47 kB / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.8528, allocations: 0 / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8528, allocations: 0 / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8528, allocations: 4 kB / 1.275 GB, free: 3.625 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.0003913/0.8532, allocations: 367.2 kB / 1.275 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8532, allocations: 8.031 kB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.8532, allocations: 8.891 kB / 1.275 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.8534, allocations: 172.3 kB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.8534, allocations: 384 / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.8534, allocations: 4.375 kB / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.8537, allocations: 183.4 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8537, allocations: 0 / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.8537, allocations: 4 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-05/0.8537, allocations: 19.98 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.952e-05/0.8538, allocations: 43.84 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007317/0.8545, allocations: 0.9024 MB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.433e-05/0.8546, allocations: 173.1 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.8547, allocations: 80.14 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.8547, allocations: 79.28 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.8548, allocations: 109.8 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8548, allocations: 0 / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.503e-05/0.8548, allocations: 45.62 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/0.855, allocations: 387.7 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.8552, allocations: 167.8 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.8552, allocations: 33.7 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.8553, allocations: 147.5 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.8553, allocations: 4 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.8554, allocations: 57.59 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8555, allocations: 326.8 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.8556, allocations: 23.98 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.8558, allocations: 225.1 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.856, allocations: 201.8 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.856, allocations: 4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003079/0.8563, allocations: 185.5 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8563, allocations: 8 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.8563, allocations: 11.88 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.8563, allocations: 11.94 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.8565, allocations: 47.91 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.8565, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.8566, allocations: 31.78 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.8566, allocations: 8 kB / 1.279 GB, free: 15.12 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.0001467/0.8567, allocations: 217.8 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.8568, allocations: 112.9 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.8569, allocations: 112.8 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.182e-05/0.857, allocations: 184.2 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-05/0.857, allocations: 180.2 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-05/0.8571, allocations: 188.3 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.8574, allocations: 421.1 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/0.8574, allocations: 109 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.8575, allocations: 101 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.457e-05/0.8575, allocations: 185.8 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.857e-05/0.8576, allocations: 176.3 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.681e-05/0.8577, allocations: 188.1 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.881e-05/0.8578, allocations: 180.2 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.8579, allocations: 311.7 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.858, allocations: 186 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/0.8581, allocations: 192.2 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.8582, allocations: 112.9 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.8583, allocations: 180.2 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.8583, allocations: 105 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.004e-05/0.8584, allocations: 115.2 kB / 1.282 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8584, allocations: 0 / 1.282 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003113/0.8587, allocations: 24 kB / 1.282 GB, free: 11.4 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.0002118/0.8589, allocations: 201.3 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.8591, allocations: 67.78 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8591, allocations: 1.312 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.8591, allocations: 3.938 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.8595, allocations: 467.8 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.8598, allocations: 252.9 kB / 1.283 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.8602, allocations: 0.6929 MB / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.8604, allocations: 56.53 kB / 1.284 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.8604, allocations: 15.44 kB / 1.284 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8604, allocations: 0 / 1.284 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of Templates: time 0.004722/0.8651, allocations: 1.713 MB / 1.286 GB, free: 7.914 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.783933436963707]