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.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.000957/0.000957, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009181/0.0009181, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.9106/0.9106, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.8/1.8, allocations: 359 MB / 0.6052 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.357e-05, allocations: 5.578 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0009911/0.001005, allocations: 0.618 MB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002361/0.001241, allocations: 59.86 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.001261, allocations: 4.812 kB / 0.7878 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.001297, allocations: 3.938 kB / 0.7878 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.927e-05/0.001336, allocations: 8.891 kB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.001595, allocations: 46.34 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.746e-05/0.001652, allocations: 31.84 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.001684, allocations: 4 kB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.001717, allocations: 19.97 kB / 0.7879 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.001877, allocations: 67.91 kB / 0.788 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00189, allocations: 5.75 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.001968, allocations: 43.94 kB / 0.788 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.001998, allocations: 15.98 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.002018, allocations: 19.92 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.002131, allocations: 71.8 kB / 0.7881 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002134, allocations: 0.5938 kB / 0.7881 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002134, allocations: 1.406 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.002138, allocations: 0 / 0.7882 GB, free: 11.39 MB / 0.7448 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.0002683/0.002406, allocations: 388.5 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.002442, allocations: 8.031 kB / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.00248, allocations: 5.5 kB / 0.7885 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.874e-05/0.002539, allocations: 125.3 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.002549, allocations: 384 / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.002562, allocations: 12.36 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.002778, allocations: 391 kB / 0.789 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.002784, allocations: 192 / 0.789 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.002799, allocations: 12.11 kB / 0.7891 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.002839, allocations: 21.36 kB / 0.7891 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.002877, allocations: 31.84 kB / 0.7891 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.003406, allocations: 1.208 MB / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.003481, allocations: 267.1 kB / 0.7905 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.003512, allocations: 130.9 kB / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.003536, allocations: 123.2 kB / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.003578, allocations: 160.5 kB / 0.7909 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.003579, allocations: 0 / 0.7909 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.543e-05/0.003634, allocations: 42.77 kB / 0.791 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.003747, allocations: 435.6 kB / 0.7914 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.003853, allocations: 227.4 kB / 0.7916 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.003865, allocations: 30.23 kB / 0.7916 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.003931, allocations: 204.1 kB / 0.7918 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.003934, allocations: 4 kB / 0.7918 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.003981, allocations: 63.3 kB / 0.7919 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.004079, allocations: 0.4884 MB / 0.7924 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.0041, allocations: 19.92 kB / 0.7924 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.004291, allocations: 0.5545 MB / 0.7929 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.004554, allocations: 242.6 kB / 0.7932 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.004556, allocations: 0.8438 kB / 0.7932 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001884/0.004744, allocations: 177.8 kB / 0.7933 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.004757, allocations: 8 kB / 0.7933 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.004764, allocations: 4 kB / 0.7933 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.004777, allocations: 9.562 kB / 0.7934 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.004862, allocations: 39.92 kB / 0.7934 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.004869, allocations: 4 kB / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.004921, allocations: 27.84 kB / 0.7934 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.004932, allocations: 15.88 kB / 0.7934 GB, free: 5.344 MB / 0.7448 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.979e-05/0.005022, allocations: 302.4 kB / 0.7937 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.005067, allocations: 152.8 kB / 0.7939 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.00511, allocations: 164.7 kB / 0.794 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.472e-05/0.005164, allocations: 268 kB / 0.7943 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.513e-05/0.00522, allocations: 268.1 kB / 0.7945 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-05/0.00527, allocations: 272 kB / 0.7948 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.005425, allocations: 0.5042 MB / 0.7953 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-05/0.005456, allocations: 154.1 kB / 0.7954 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.005485, allocations: 148.8 kB / 0.7956 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-05/0.005537, allocations: 264.1 kB / 0.7958 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.005597, allocations: 276 kB / 0.7961 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.057e-05/0.005647, allocations: 265.9 kB / 0.7963 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.281e-05/0.0057, allocations: 264.1 kB / 0.7966 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.005817, allocations: 455.9 kB / 0.797 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.005859, allocations: 156.8 kB / 0.7972 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.005923, allocations: 273.4 kB / 0.7974 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.75e-05/0.005981, allocations: 156.8 kB / 0.7976 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.006041, allocations: 264.1 kB / 0.7978 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.006072, allocations: 148.9 kB / 0.798 GB, free: 500 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.00613, allocations: 156.8 kB / 0.7981 GB, free: 344 kB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00613, allocations: 0 / 0.7981 GB, free: 344 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002071/0.006337, allocations: 24 kB / 0.7982 GB, free: 320 kB / 0.7448 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.0001258/0.006463, allocations: 227.8 kB / 0.7984 GB, free: 84 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.006571, allocations: 74.34 kB / 0.7984 GB, free: 8 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.006574, allocations: 7.938 kB / 0.7985 GB, free: 0 / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.006575, allocations: 2.031 kB / 0.7985 GB, free: 0 / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.006856, allocations: 0.7218 MB / 0.7992 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.007072, allocations: 273.7 kB / 0.7994 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.007108, allocations: 63.94 kB / 0.7995 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.326e-05/0.007201, allocations: 53.73 kB / 0.7995 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.007217, allocations: 16.5 kB / 0.7996 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of SimCode: time 4.91e-07/0.007217, allocations: 0 / 0.7996 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of Templates: time 0.003297/0.01051, allocations: 1.998 MB / 0.8015 GB, free: 12.91 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.861978400032967]