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.001202/0.001202, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001271/0.001271, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.011/1.011, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.821/1.821, allocations: 359 MB / 0.6055 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.923e-06/1.923e-06, allocations: 0 / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.121e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00144/0.001471, allocations: 0.6188 MB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003966/0.001868, allocations: 68.45 kB / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.001908, allocations: 4 kB / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.001965, allocations: 1.25 kB / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.00201, allocations: 7.984 kB / 0.7878 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.002342, allocations: 49.48 kB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.002409, allocations: 23.92 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.002449, allocations: 0 / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.002493, allocations: 29.17 kB / 0.7879 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.002683, allocations: 71.86 kB / 0.788 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.002699, allocations: 0 / 0.788 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.002791, allocations: 44.62 kB / 0.788 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.002832, allocations: 15.98 kB / 0.7881 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.002857, allocations: 17.52 kB / 0.7881 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.002993, allocations: 67.8 kB / 0.7881 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002996, allocations: 4 kB / 0.7881 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.184e-06/0.002998, allocations: 3.984 kB / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.003003, allocations: 0.5938 kB / 0.7881 GB, free: 11.73 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.0003117/0.003314, allocations: 388.5 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.003353, allocations: 11.47 kB / 0.7885 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.003398, allocations: 8.875 kB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.309e-05/0.003461, allocations: 116.5 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.003474, allocations: 4.359 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.003488, allocations: 8.375 kB / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.003727, allocations: 389.9 kB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.003735, allocations: 192 / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.003751, allocations: 12.12 kB / 0.789 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/0.003811, allocations: 19.98 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.009e-05/0.003861, allocations: 36.55 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.004485, allocations: 1.211 MB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.192e-05/0.004576, allocations: 263.1 kB / 0.7905 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.004612, allocations: 126.9 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.004642, allocations: 119.2 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.004694, allocations: 164.5 kB / 0.7909 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.004695, allocations: 1.219 kB / 0.7909 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.39e-05/0.004769, allocations: 45.58 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.004898, allocations: 427.6 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.005032, allocations: 228.1 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.005046, allocations: 29.7 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.005126, allocations: 207.5 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.005131, allocations: 7.922 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.005183, allocations: 63.31 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002738/0.005456, allocations: 0.4884 MB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.005483, allocations: 17.08 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.005703, allocations: 0.5481 MB / 0.7929 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.005855, allocations: 240.5 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.005859, allocations: 9.312 kB / 0.7932 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002172/0.006076, allocations: 172.5 kB / 0.7933 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.006094, allocations: 8.938 kB / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.006101, allocations: 4 kB / 0.7933 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.006117, allocations: 8 kB / 0.7933 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.006215, allocations: 41.14 kB / 0.7934 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.006225, allocations: 11.94 kB / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.006285, allocations: 27.84 kB / 0.7934 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.006297, allocations: 12.91 kB / 0.7934 GB, free: 5.688 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.000102/0.006399, allocations: 295.6 kB / 0.7937 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.006458, allocations: 163.1 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.006509, allocations: 160.7 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.764e-05/0.006567, allocations: 264.1 kB / 0.7943 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.216e-05/0.006629, allocations: 268.1 kB / 0.7945 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.79e-05/0.006697, allocations: 276 kB / 0.7948 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.006894, allocations: 0.5037 MB / 0.7953 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.006931, allocations: 156.1 kB / 0.7954 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.006973, allocations: 148.9 kB / 0.7956 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.516e-05/0.007038, allocations: 264.1 kB / 0.7958 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.007102, allocations: 276 kB / 0.7961 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-05/0.007162, allocations: 268.1 kB / 0.7963 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.385e-05/0.007225, allocations: 268 kB / 0.7966 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.007367, allocations: 451.9 kB / 0.797 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.007413, allocations: 156.8 kB / 0.7972 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.007483, allocations: 269.1 kB / 0.7974 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.007547, allocations: 152.8 kB / 0.7976 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.007615, allocations: 264.1 kB / 0.7978 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.007656, allocations: 157.3 kB / 0.798 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.007712, allocations: 148.2 kB / 0.7981 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007713, allocations: 4 kB / 0.7981 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002182/0.007931, allocations: 28.5 kB / 0.7982 GB, free: 0.6523 MB / 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.0001847/0.008115, allocations: 231.8 kB / 0.7984 GB, free: 428 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.008249, allocations: 70.95 kB / 0.7984 GB, free: 356 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.008253, allocations: 4 kB / 0.7984 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.008254, allocations: 0 / 0.7984 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.008741, allocations: 0.7252 MB / 0.7992 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.009027, allocations: 269.6 kB / 0.7994 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.009067, allocations: 67.94 kB / 0.7995 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.009218, allocations: 54.17 kB / 0.7995 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.009242, allocations: 17.28 kB / 0.7995 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of SimCode: time 1.213e-06/0.009244, allocations: 0 / 0.7995 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.003698/0.01294, allocations: 1.826 MB / 0.8013 GB, free: 13.43 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.1893610819242895]