Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.078/1.078, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.568/2.568, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.206e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0011/0.001112, allocations: 0.6775 MB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.001366, allocations: 67.84 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.001386, allocations: 3.938 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.001414, allocations: 0 / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.001457, allocations: 7.984 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.001703, allocations: 39.95 kB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.677e-05/0.00176, allocations: 31.84 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.001793, allocations: 3.984 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.001833, allocations: 19.98 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.001988, allocations: 71.91 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.001998, allocations: 0 / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.002098, allocations: 51.92 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.002125, allocations: 15.94 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.002145, allocations: 15.92 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.002247, allocations: 71.84 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002249, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002249, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.002252, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 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.0002133/0.002466, allocations: 260.8 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.002496, allocations: 16.56 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.002528, allocations: 8.922 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.844e-05/0.002587, allocations: 113.7 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.002595, allocations: 384 / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.002607, allocations: 16.36 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.002799, allocations: 367.7 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.002806, allocations: 192 / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.002815, allocations: 4.125 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.002849, allocations: 19.98 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.00288, allocations: 35.83 kB / 0.8405 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.00329, allocations: 0.7952 MB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.915e-05/0.003349, allocations: 173.1 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.00337, allocations: 80.14 kB / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.003388, allocations: 79.28 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.003432, allocations: 109.8 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.003433, allocations: 0 / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.371e-05/0.003487, allocations: 37.64 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.003603, allocations: 395.6 kB / 0.8421 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.003693, allocations: 160.6 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.003706, allocations: 25.7 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.003774, allocations: 163.4 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.003778, allocations: 8 kB / 0.8425 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.003825, allocations: 53.64 kB / 0.8425 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.003908, allocations: 318.8 kB / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.003921, allocations: 12 kB / 0.8428 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.004095, allocations: 464.6 kB / 0.8433 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.004212, allocations: 184.6 kB / 0.8435 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.004215, allocations: 0 / 0.8435 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001501/0.004365, allocations: 157.5 kB / 0.8436 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.004382, allocations: 8 kB / 0.8436 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.004389, allocations: 4 kB / 0.8436 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.004399, allocations: 4 kB / 0.8436 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.004486, allocations: 43.92 kB / 0.8437 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.004495, allocations: 15.97 kB / 0.8437 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.004553, allocations: 27.78 kB / 0.8437 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.004563, allocations: 12 kB / 0.8437 GB, free: 8.402 MB / 0.8073 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 8.335e-05/0.004646, allocations: 216 kB / 0.8439 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.004691, allocations: 113 kB / 0.844 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.004729, allocations: 112.8 kB / 0.8441 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/0.004771, allocations: 180.2 kB / 0.8443 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.153e-05/0.004812, allocations: 180.2 kB / 0.8445 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/0.004858, allocations: 184.2 kB / 0.8447 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.004991, allocations: 333.4 kB / 0.845 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/0.005016, allocations: 101 kB / 0.8451 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.005044, allocations: 108.9 kB / 0.8452 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.276e-05/0.005086, allocations: 180.3 kB / 0.8454 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.005133, allocations: 180.2 kB / 0.8455 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.406e-05/0.005177, allocations: 180.3 kB / 0.8457 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.532e-05/0.005223, allocations: 188.2 kB / 0.8459 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.964e-05/0.005322, allocations: 307.8 kB / 0.8462 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.005364, allocations: 117.1 kB / 0.8463 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.005417, allocations: 184.3 kB / 0.8465 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.005469, allocations: 104.9 kB / 0.8466 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.005514, allocations: 184.2 kB / 0.8467 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.005539, allocations: 101 kB / 0.8468 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.005565, allocations: 33.95 kB / 0.8469 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005565, allocations: 0 / 0.8469 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001883/0.005753, allocations: 27.94 kB / 0.8469 GB, free: 4.98 MB / 0.8073 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.0001213/0.005875, allocations: 171.7 kB / 0.8471 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.488e-05/0.00597, allocations: 62.72 kB / 0.8471 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.00598, allocations: 9.312 kB / 0.8471 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.005981, allocations: 0 / 0.8471 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.006178, allocations: 471.6 kB / 0.8476 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.006388, allocations: 226.5 kB / 0.8478 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.006425, allocations: 63.86 kB / 0.8478 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.081e-05/0.006486, allocations: 32.62 kB / 0.8479 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.006608, allocations: 107.3 kB / 0.848 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of SimCode: time 3.71e-07/0.006609, allocations: 0 / 0.848 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of Templates: time 0.003277/0.009886, allocations: 1.855 MB / 0.8498 GB, free: 2.004 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.540696370881051]