Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001332/0.001332, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001387/0.001387, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.416/1.416, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 1.062 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8202, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002005/0.8222, allocations: 0.6141 MB / 1.219 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.8226, allocations: 74.62 kB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.8227, allocations: 0 / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.36e-05/0.8227, allocations: 5.016 kB / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.8228, allocations: 8.062 kB / 1.219 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.8232, allocations: 49.94 kB / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.8233, allocations: 19.92 kB / 1.219 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.731e-05/0.8234, allocations: 6.047 kB / 1.219 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.8234, allocations: 10.95 kB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.8237, allocations: 71.28 kB / 1.219 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.8238, allocations: 1.188 kB / 1.219 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.8239, allocations: 52.91 kB / 1.219 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.824, allocations: 17.78 kB / 1.219 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.824, allocations: 25.88 kB / 1.219 GB, free: 3 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.8243, allocations: 69.92 kB / 1.219 GB, free: 2.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8243, allocations: 0 / 1.219 GB, free: 2.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8243, allocations: 1.5 kB / 1.219 GB, free: 2.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8243, allocations: 0 / 1.219 GB, free: 2.961 MB / 0.92 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.0005406/0.8248, allocations: 364.3 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.8249, allocations: 10.38 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.8249, allocations: 8.422 kB / 1.22 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.8251, allocations: 177.5 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.8252, allocations: 5.766 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.8252, allocations: 3.188 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.8255, allocations: 178 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.8255, allocations: 3.938 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.8255, allocations: 2.719 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-05/0.8256, allocations: 22.52 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-05/0.8257, allocations: 37.03 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.8267, allocations: 0.9035 MB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.8268, allocations: 169.1 kB / 1.221 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.8269, allocations: 81.3 kB / 1.221 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.8269, allocations: 79.22 kB / 1.221 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.621e-05/0.827, allocations: 116.1 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.827, allocations: 0 / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001765/0.8272, allocations: 40.25 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003386/0.8275, allocations: 392.9 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.8277, allocations: 169.5 kB / 1.222 GB, free: 212 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.8278, allocations: 27.86 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.8279, allocations: 159.9 kB / 1.222 GB, free: 24 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.8279, allocations: 2.125 kB / 1.222 GB, free: 24 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.828, allocations: 60.69 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.8283, allocations: 324.8 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.8283, allocations: 24.89 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.8286, allocations: 220.9 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.829, allocations: 200.4 kB / 1.223 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.829, allocations: 1.094 kB / 1.223 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000415/0.8294, allocations: 192.5 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.8294, allocations: 7.219 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.8294, allocations: 5.625 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.8295, allocations: 10.22 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.8296, allocations: 41.83 kB / 1.223 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.8297, allocations: 14.52 kB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.8298, allocations: 26.8 kB / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.8298, allocations: 14.25 kB / 1.223 GB, free: 15 MB / 0.9356 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.0001997/0.83, allocations: 219.7 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.8301, allocations: 109.8 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.8302, allocations: 113.8 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001092/0.8303, allocations: 193.2 kB / 1.224 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001106/0.8304, allocations: 177.3 kB / 1.224 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-05/0.8305, allocations: 180.2 kB / 1.224 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.8309, allocations: 416.2 kB / 1.225 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000116/0.831, allocations: 114.1 kB / 1.225 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.8311, allocations: 110.1 kB / 1.225 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.8312, allocations: 177.2 kB / 1.225 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.8313, allocations: 185.3 kB / 1.225 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.251e-05/0.8314, allocations: 181.3 kB / 1.226 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.377e-05/0.8315, allocations: 181.1 kB / 1.226 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.8317, allocations: 316.2 kB / 1.226 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.8319, allocations: 188.7 kB / 1.226 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.832, allocations: 178.3 kB / 1.226 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.8321, allocations: 116.3 kB / 1.226 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.8322, allocations: 181.3 kB / 1.227 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.8323, allocations: 106.2 kB / 1.227 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001061/0.8324, allocations: 122.3 kB / 1.227 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8324, allocations: 5 kB / 1.227 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004251/0.8328, allocations: 25.84 kB / 1.227 GB, free: 11.36 MB / 0.9356 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.0002413/0.8331, allocations: 182.3 kB / 1.227 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.8333, allocations: 72.41 kB / 1.227 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8333, allocations: 1.156 kB / 1.227 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.8333, allocations: 0.75 kB / 1.227 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.8337, allocations: 467.2 kB / 1.228 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.8341, allocations: 229.7 kB / 1.228 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.8345, allocations: 0.6953 MB / 1.228 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.8347, allocations: 52.06 kB / 1.228 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.8347, allocations: 13.22 kB / 1.229 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.8347, allocations: 5.062 kB / 1.229 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of Templates: time 0.005029/0.8397, allocations: 1.772 MB / 1.23 GB, free: 8.914 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.442983886227012]