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.0009995/0.0009995, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001019/0.001019, allocations: 165 kB / 23.82 MB, free: 0.75 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.9572/0.9572, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.845/1.845, allocations: 359 MB / 0.6052 GB, free: 11 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.132e-06/1.132e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.955e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001075/0.001095, allocations: 0.6203 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002863/0.001381, allocations: 64.91 kB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.001406, allocations: 0 / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/0.001451, allocations: 5.5 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.001504, allocations: 7.984 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.001826, allocations: 44.75 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.001887, allocations: 23.92 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.001925, allocations: 4.906 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.001966, allocations: 23.95 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.002151, allocations: 70.27 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.002166, allocations: 0 / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.367e-05/0.002249, allocations: 51.86 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.002281, allocations: 12 kB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.002306, allocations: 19.92 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.002427, allocations: 75.78 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.002428, allocations: 0 / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002429, allocations: 1.812 kB / 0.7882 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.002433, allocations: 0 / 0.7882 GB, free: 11.43 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.0002877/0.00272, allocations: 388.5 kB / 0.7885 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.002755, allocations: 8.031 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.002796, allocations: 8.922 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.373e-05/0.00286, allocations: 121.1 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.002871, allocations: 5.781 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.002888, allocations: 8.375 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.003112, allocations: 395.9 kB / 0.789 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.003122, allocations: 192 / 0.789 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.003136, allocations: 9.875 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.003181, allocations: 23.98 kB / 0.7891 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.003216, allocations: 23.91 kB / 0.7891 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.003757, allocations: 1.215 MB / 0.7903 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.003841, allocations: 265.4 kB / 0.7905 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.003875, allocations: 131.9 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.003899, allocations: 119.2 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.003946, allocations: 162.5 kB / 0.7909 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.003947, allocations: 0 / 0.7909 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.07e-05/0.004008, allocations: 41.64 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.004124, allocations: 431.6 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.004239, allocations: 227.4 kB / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.004252, allocations: 32.3 kB / 0.7916 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.004322, allocations: 198.2 kB / 0.7918 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.004326, allocations: 7.938 kB / 0.7918 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.004378, allocations: 63.3 kB / 0.7919 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.004505, allocations: 0.4922 MB / 0.7924 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.004528, allocations: 19.92 kB / 0.7924 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.004747, allocations: 0.5461 MB / 0.7929 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.0049, allocations: 241.6 kB / 0.7932 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.004903, allocations: 4 kB / 0.7932 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000211/0.005114, allocations: 176.9 kB / 0.7933 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.005127, allocations: 9.219 kB / 0.7933 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.005134, allocations: 4 kB / 0.7933 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.005151, allocations: 8 kB / 0.7933 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.00524, allocations: 37.23 kB / 0.7934 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.005248, allocations: 8 kB / 0.7934 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.005303, allocations: 27.84 kB / 0.7934 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.005315, allocations: 15.94 kB / 0.7934 GB, free: 5.383 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 0.0001105/0.005426, allocations: 297.2 kB / 0.7937 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.005484, allocations: 156.8 kB / 0.7939 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.005537, allocations: 164.7 kB / 0.794 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-05/0.005594, allocations: 270.8 kB / 0.7943 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-05/0.005648, allocations: 268.1 kB / 0.7945 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/0.005704, allocations: 268.1 kB / 0.7948 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.005876, allocations: 0.5115 MB / 0.7953 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.29e-05/0.005909, allocations: 148.9 kB / 0.7954 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.005941, allocations: 148.8 kB / 0.7956 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-05/0.006001, allocations: 264.1 kB / 0.7958 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/0.006062, allocations: 272.1 kB / 0.7961 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-05/0.00612, allocations: 268.5 kB / 0.7963 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.649e-05/0.006177, allocations: 268.6 kB / 0.7966 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.00631, allocations: 457 kB / 0.797 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.006361, allocations: 156.8 kB / 0.7972 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.006429, allocations: 268.1 kB / 0.7974 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.00649, allocations: 153.5 kB / 0.7976 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.006552, allocations: 268 kB / 0.7978 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.006584, allocations: 149.6 kB / 0.798 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.593e-05/0.00664, allocations: 157 kB / 0.7981 GB, free: 384 kB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00664, allocations: 2.875 kB / 0.7981 GB, free: 384 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002125/0.006852, allocations: 24 kB / 0.7982 GB, free: 360 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.000144/0.006996, allocations: 230.4 kB / 0.7984 GB, free: 120 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.007115, allocations: 82 kB / 0.7985 GB, free: 36 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.007117, allocations: 4.938 kB / 0.7985 GB, free: 32 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.007118, allocations: 0 / 0.7985 GB, free: 32 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.007449, allocations: 0.7179 MB / 0.7992 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.007686, allocations: 274.8 kB / 0.7994 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.007723, allocations: 63.94 kB / 0.7995 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.616e-05/0.007819, allocations: 52.06 kB / 0.7995 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.007843, allocations: 16.5 kB / 0.7995 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/0.007844, allocations: 0 / 0.7995 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of Templates: time 0.003619/0.01146, allocations: 1.83 MB / 0.8013 GB, free: 13.12 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: 5.131569895893335]