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.002441/0.002441, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002736/0.002736, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 3.041/3.041, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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 2.004e-06/2.004e-06, allocations: 1.094 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.341e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001713/0.001747, allocations: 0.6152 MB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003214/0.002068, allocations: 68.89 kB / 0.8115 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.002089, allocations: 0 / 0.8115 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.053e-05/0.00214, allocations: 4 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.00219, allocations: 14.33 kB / 0.8116 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.002517, allocations: 43.94 kB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.002593, allocations: 23.97 kB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.002638, allocations: 1.062 kB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.002701, allocations: 31.89 kB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.002947, allocations: 67.92 kB / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.002967, allocations: 0.6875 kB / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.003089, allocations: 40.84 kB / 0.8118 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.003139, allocations: 23.91 kB / 0.8118 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.003167, allocations: 12 kB / 0.8118 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.003339, allocations: 76.38 kB / 0.8119 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003341, allocations: 0 / 0.8119 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003342, allocations: 5.25 kB / 0.8119 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003346, allocations: 0 / 0.8119 GB, free: 1.047 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.0004776/0.003823, allocations: 388.2 kB / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.003863, allocations: 12.98 kB / 0.8122 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.003915, allocations: 4.938 kB / 0.8122 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.004026, allocations: 117.2 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.00404, allocations: 4.359 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.004058, allocations: 9.25 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.004676, allocations: 378 kB / 0.8127 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.004708, allocations: 4.234 kB / 0.8127 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.00473, allocations: 13.36 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.004787, allocations: 27.97 kB / 0.8128 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.004842, allocations: 19.92 kB / 0.8128 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.005889, allocations: 1.217 MB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.00606, allocations: 261.4 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.006134, allocations: 126.9 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.006203, allocations: 127 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.961e-05/0.006302, allocations: 164.5 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.006303, allocations: 1.094 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.687e-05/0.0064, allocations: 41.64 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002808/0.006681, allocations: 427.6 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.006894, allocations: 230.8 kB / 0.8153 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.00692, allocations: 29.7 kB / 0.8153 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.007067, allocations: 204 kB / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/0.007071, allocations: 0 / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.007158, allocations: 63.31 kB / 0.8156 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003051/0.007463, allocations: 0.4923 MB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.007504, allocations: 19.86 kB / 0.8161 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.007987, allocations: 0.5437 MB / 0.8166 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.00827, allocations: 239 kB / 0.8168 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.008276, allocations: 4.531 kB / 0.8168 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003352/0.008611, allocations: 173.2 kB / 0.817 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.008629, allocations: 12.75 kB / 0.817 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.008638, allocations: 4 kB / 0.817 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.008661, allocations: 8.938 kB / 0.817 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.008797, allocations: 39.92 kB / 0.8171 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.008809, allocations: 8 kB / 0.8171 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.008911, allocations: 33.12 kB / 0.8171 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.008927, allocations: 11.94 kB / 0.8171 GB, free: 11.02 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.0002075/0.009135, allocations: 296.5 kB / 0.8174 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.009254, allocations: 164.8 kB / 0.8176 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.009357, allocations: 160.7 kB / 0.8177 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001493/0.009506, allocations: 266.1 kB / 0.818 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001497/0.009656, allocations: 276 kB / 0.8182 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001372/0.009793, allocations: 268.1 kB / 0.8185 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.01016, allocations: 0.5115 MB / 0.819 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.499e-05/0.01023, allocations: 144.9 kB / 0.8191 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.01031, allocations: 149.6 kB / 0.8193 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003654/0.01068, allocations: 268 kB / 0.8195 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.01082, allocations: 275.5 kB / 0.8198 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001412/0.01096, allocations: 272 kB / 0.8201 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001383/0.0111, allocations: 268 kB / 0.8203 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.0114, allocations: 451.9 kB / 0.8207 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.01149, allocations: 156.8 kB / 0.8209 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.01166, allocations: 272 kB / 0.8211 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.0118, allocations: 148.9 kB / 0.8213 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.01195, allocations: 272 kB / 0.8215 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.01204, allocations: 148.9 kB / 0.8217 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001158/0.01215, allocations: 153.9 kB / 0.8218 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01215, allocations: 4.531 kB / 0.8218 GB, free: 6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000332/0.01248, allocations: 24 kB / 0.8219 GB, free: 5.977 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.0002892/0.01277, allocations: 228.4 kB / 0.8221 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01296, allocations: 77.91 kB / 0.8222 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01296, allocations: 0 / 0.8222 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.01296, allocations: 4.594 kB / 0.8222 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.01357, allocations: 0.7277 MB / 0.8229 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.01397, allocations: 275.4 kB / 0.8231 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.646e-05/0.01406, allocations: 75.92 kB / 0.8232 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.01423, allocations: 52.31 kB / 0.8233 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.01426, allocations: 16.5 kB / 0.8233 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01426, allocations: 1.094 kB / 0.8233 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.005347/0.0196, allocations: 1.828 MB / 0.8251 GB, free: 2.738 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] 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: 8.03169722110033]