Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001466/0.001466, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001664/0.001664, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.489/1.489, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.965/2.965, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8109 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.76e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001733/0.001761, allocations: 0.6093 MB / 0.8115 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003319/0.002093, allocations: 64.53 kB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.002112, allocations: 0.875 kB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.516e-05/0.002157, allocations: 7.922 kB / 0.8115 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.002196, allocations: 4.781 kB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.002497, allocations: 45.62 kB / 0.8116 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.018e-05/0.002567, allocations: 35.89 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.949e-05/0.002596, allocations: 0 / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.002646, allocations: 23.97 kB / 0.8116 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.002864, allocations: 69.44 kB / 0.8117 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.002879, allocations: 3.938 kB / 0.8117 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.002991, allocations: 39.89 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.003033, allocations: 27.91 kB / 0.8118 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.003064, allocations: 12.88 kB / 0.8118 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.003222, allocations: 71.84 kB / 0.8119 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003224, allocations: 0.5938 kB / 0.8119 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003225, allocations: 0 / 0.8119 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.003228, allocations: 1.594 kB / 0.8119 GB, free: 1.074 MB / 0.7605 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.0003872/0.003616, allocations: 286.2 kB / 0.8121 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.003653, allocations: 12.03 kB / 0.8121 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.003709, allocations: 8.891 kB / 0.8122 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.003827, allocations: 110.2 kB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.003843, allocations: 9.078 kB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.003863, allocations: 8.375 kB / 0.8123 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.004328, allocations: 439.1 kB / 0.8127 GB, free: 84 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.004337, allocations: 192 / 0.8127 GB, free: 84 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.004356, allocations: 9.734 kB / 0.8127 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-05/0.004432, allocations: 19.98 kB / 0.8127 GB, free: 56 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.004505, allocations: 35.91 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/0.005328, allocations: 0.8435 MB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.005447, allocations: 177.7 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.005496, allocations: 80.83 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.005538, allocations: 75.28 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.891e-05/0.005617, allocations: 118.5 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.005618, allocations: 0 / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001092/0.005727, allocations: 34.66 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002509/0.005978, allocations: 387.7 kB / 0.8144 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.006164, allocations: 179.8 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.006193, allocations: 35.08 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.006309, allocations: 147.5 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-06/0.006317, allocations: 8 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.006393, allocations: 51.41 kB / 0.8148 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.006562, allocations: 322.8 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.006614, allocations: 31.91 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.007034, allocations: 476.4 kB / 0.8156 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.007292, allocations: 204.4 kB / 0.8158 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.007294, allocations: 0.625 kB / 0.8158 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003789/0.007673, allocations: 202.7 kB / 0.816 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.007691, allocations: 11.94 kB / 0.816 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.007699, allocations: 4 kB / 0.816 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.007722, allocations: 8 kB / 0.816 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.007858, allocations: 39.92 kB / 0.8161 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.007869, allocations: 8.812 kB / 0.8161 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.007974, allocations: 27.78 kB / 0.8161 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.007994, allocations: 16.88 kB / 0.8161 GB, free: 12.19 MB / 0.7761 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.0001628/0.008157, allocations: 213 kB / 0.8163 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/0.008249, allocations: 110.2 kB / 0.8164 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.00832, allocations: 116.8 kB / 0.8165 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.008422, allocations: 180.2 kB / 0.8167 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001128/0.008535, allocations: 177.1 kB / 0.8169 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001057/0.008641, allocations: 188.2 kB / 0.817 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.008937, allocations: 373.5 kB / 0.8174 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.064e-05/0.008997, allocations: 101 kB / 0.8175 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.009055, allocations: 108.8 kB / 0.8176 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.773e-05/0.009153, allocations: 184.2 kB / 0.8178 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.009258, allocations: 188.4 kB / 0.818 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.185e-05/0.00935, allocations: 176.3 kB / 0.8181 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000138/0.009488, allocations: 188.3 kB / 0.8183 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.009705, allocations: 323.6 kB / 0.8186 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.009777, allocations: 112.9 kB / 0.8187 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.009886, allocations: 176.3 kB / 0.8189 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.009996, allocations: 105 kB / 0.819 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.0101, allocations: 184.2 kB / 0.8192 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.01016, allocations: 110.2 kB / 0.8193 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001032/0.01026, allocations: 117.6 kB / 0.8194 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01026, allocations: 4 kB / 0.8194 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003417/0.0106, allocations: 27.94 kB / 0.8194 GB, free: 8.625 MB / 0.7761 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.0002271/0.01083, allocations: 179.6 kB / 0.8196 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.011, allocations: 78.94 kB / 0.8197 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01101, allocations: 0 / 0.8197 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.01101, allocations: 0.6562 kB / 0.8197 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.01149, allocations: 483.3 kB / 0.8201 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.01185, allocations: 232.1 kB / 0.8203 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.369e-05/0.01194, allocations: 83.91 kB / 0.8204 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.01213, allocations: 51.78 kB / 0.8205 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.01215, allocations: 13.09 kB / 0.8205 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01216, allocations: 1.125 kB / 0.8205 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.005135/0.01729, allocations: 1.827 MB / 0.8223 GB, free: 5.73 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.897457229089923]