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.0008881/0.0008881, allocations: 87.58 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.000916/0.000916, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9341/0.9341, 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 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 1.822/1.822, allocations: 377.9 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.625e-05, allocations: 3.375 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001304/0.00133, allocations: 0.632 MB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002764/0.001606, allocations: 59.86 kB / 0.8123 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.001634, allocations: 0 / 0.8123 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.001674, allocations: 4.594 kB / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.618e-05/0.00172, allocations: 5.688 kB / 0.8123 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.002017, allocations: 51.86 kB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.281e-05/0.00208, allocations: 29.44 kB / 0.8123 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.002118, allocations: 4 kB / 0.8124 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.002155, allocations: 15.98 kB / 0.8124 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.002335, allocations: 75.83 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.002353, allocations: 5.594 kB / 0.8124 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.002439, allocations: 39.94 kB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.002476, allocations: 19.92 kB / 0.8125 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.002496, allocations: 12 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.002631, allocations: 76.66 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002633, allocations: 0 / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002634, allocations: 0 / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.002638, allocations: 0.7812 kB / 0.8126 GB, free: 0.6836 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.0002872/0.002926, allocations: 392.5 kB / 0.813 GB, free: 268 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.00296, allocations: 8.625 kB / 0.813 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.003, allocations: 13.58 kB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.655e-05/0.003057, allocations: 112.5 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003069, allocations: 5.062 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.003085, allocations: 8.359 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.003321, allocations: 390.9 kB / 0.8135 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.003332, allocations: 4.172 kB / 0.8135 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.003345, allocations: 12.11 kB / 0.8135 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.00339, allocations: 25.36 kB / 0.8135 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.00343, allocations: 31.84 kB / 0.8135 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.003979, allocations: 1.2 MB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/0.004058, allocations: 267.1 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.004094, allocations: 130.9 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.004118, allocations: 123.2 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.004167, allocations: 156.5 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.004168, allocations: 0 / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.491e-05/0.004233, allocations: 38.59 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.004355, allocations: 439.5 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.004476, allocations: 228.2 kB / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.004489, allocations: 33.64 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.004568, allocations: 202.7 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.004572, allocations: 4.562 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.004624, allocations: 59.31 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.004734, allocations: 0.493 MB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.004756, allocations: 21.17 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.004959, allocations: 0.5443 MB / 0.8174 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.005107, allocations: 244 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.005109, allocations: 0 / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002047/0.005314, allocations: 178.3 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.005328, allocations: 4 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.005337, allocations: 12 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.005355, allocations: 4 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.005447, allocations: 42.89 kB / 0.8178 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.00546, allocations: 7.984 kB / 0.8178 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.005515, allocations: 27.84 kB / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.005526, allocations: 19.88 kB / 0.8179 GB, free: 10.63 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 9.825e-05/0.005624, allocations: 295.6 kB / 0.8182 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.005675, allocations: 152.8 kB / 0.8183 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.005727, allocations: 164.7 kB / 0.8185 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.803e-05/0.005785, allocations: 273.4 kB / 0.8187 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.985e-05/0.005845, allocations: 264.1 kB / 0.819 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.446e-05/0.0059, allocations: 268 kB / 0.8192 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.006072, allocations: 0.5121 MB / 0.8197 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.219e-05/0.006104, allocations: 148.9 kB / 0.8199 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.006134, allocations: 149.9 kB / 0.82 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.596e-05/0.00619, allocations: 264.1 kB / 0.8203 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.006248, allocations: 272 kB / 0.8205 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.388e-05/0.006302, allocations: 268.7 kB / 0.8208 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.333e-05/0.006355, allocations: 264.1 kB / 0.821 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.006487, allocations: 461.7 kB / 0.8215 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.006529, allocations: 152.8 kB / 0.8216 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.006596, allocations: 268.1 kB / 0.8219 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.006658, allocations: 156.8 kB / 0.822 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.006718, allocations: 268.1 kB / 0.8223 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.006748, allocations: 146.1 kB / 0.8224 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.006804, allocations: 159 kB / 0.8226 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006804, allocations: 0 / 0.8226 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002139/0.007018, allocations: 25.09 kB / 0.8226 GB, free: 5.609 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.0001683/0.007187, allocations: 231 kB / 0.8228 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.007309, allocations: 78.53 kB / 0.8229 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.007311, allocations: 0 / 0.8229 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.007313, allocations: 4 kB / 0.8229 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.007619, allocations: 0.7218 MB / 0.8236 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.007874, allocations: 269.7 kB / 0.8239 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.007913, allocations: 67.92 kB / 0.8239 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.008014, allocations: 53.28 kB / 0.824 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.008032, allocations: 16.5 kB / 0.824 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.008033, allocations: 0.5938 kB / 0.824 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of Templates: time 0.003378/0.01141, allocations: 1.819 MB / 0.8258 GB, free: 2.391 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","",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.065482248086482]