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.0009655/0.0009655, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001112/0.001112, allocations: 161 kB / 24.17 MB, free: 328 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 0.9608/0.9608, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.122e-06/1.122e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.216e-05, allocations: 6.281 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0009673/0.0009794, allocations: 0.6359 MB / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.001207, allocations: 67.8 kB / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.001224, allocations: 1.094 kB / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.001251, allocations: 0 / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.001288, allocations: 10.88 kB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.001536, allocations: 48.53 kB / 0.7608 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.077e-05/0.001587, allocations: 27.66 kB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.852e-05/0.001616, allocations: 0 / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.001652, allocations: 24.52 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.001787, allocations: 74.41 kB / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.001797, allocations: 0 / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.00187, allocations: 44.81 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.0019, allocations: 22.92 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.001916, allocations: 10.52 kB / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.002014, allocations: 71.59 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.002015, allocations: 0 / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002016, allocations: 5.781 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.002018, allocations: 0 / 0.7611 GB, free: 5.574 MB / 0.7136 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.0002038/0.002222, allocations: 264.8 kB / 0.7613 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.426e-05/0.002246, allocations: 8.031 kB / 0.7613 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.00227, allocations: 5.531 kB / 0.7613 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.075e-05/0.002321, allocations: 109.7 kB / 0.7615 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.00233, allocations: 6.188 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.002347, allocations: 8.375 kB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.002514, allocations: 369.8 kB / 0.7618 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.00252, allocations: 192 / 0.7618 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.002531, allocations: 12.11 kB / 0.7618 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.002567, allocations: 27.91 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/0.002592, allocations: 23.92 kB / 0.7619 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.002957, allocations: 0.792 MB / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.003008, allocations: 165.1 kB / 0.7628 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.003033, allocations: 84.89 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.003052, allocations: 75.28 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.003094, allocations: 111.5 kB / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.003096, allocations: 7.984 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.941e-05/0.003156, allocations: 43.75 kB / 0.7631 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.003286, allocations: 383.7 kB / 0.7635 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.00339, allocations: 168.3 kB / 0.7636 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.003403, allocations: 29.7 kB / 0.7637 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.003471, allocations: 151.5 kB / 0.7638 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-06/0.003474, allocations: 1.562 kB / 0.7638 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.003531, allocations: 57.67 kB / 0.7639 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.003609, allocations: 323.5 kB / 0.7642 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.003622, allocations: 8 kB / 0.7642 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.003817, allocations: 473.9 kB / 0.7646 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.003956, allocations: 189.4 kB / 0.7648 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.003959, allocations: 0 / 0.7648 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001797/0.004139, allocations: 147.9 kB / 0.765 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.004152, allocations: 9.438 kB / 0.765 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.004158, allocations: 7.438 kB / 0.765 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.004176, allocations: 8 kB / 0.765 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.004273, allocations: 35.92 kB / 0.765 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.004284, allocations: 11.94 kB / 0.765 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.004363, allocations: 23.84 kB / 0.7651 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.004373, allocations: 12 kB / 0.7651 GB, free: 0.9766 MB / 0.7136 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.000332/0.004705, allocations: 211.8 kB / 0.7653 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.004757, allocations: 117.9 kB / 0.7654 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.004798, allocations: 119.7 kB / 0.7655 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/0.004842, allocations: 180.3 kB / 0.7657 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/0.004882, allocations: 176.3 kB / 0.7658 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.379e-05/0.004936, allocations: 180.2 kB / 0.766 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.005095, allocations: 341.4 kB / 0.7663 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/0.005121, allocations: 104.9 kB / 0.7664 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.005145, allocations: 101 kB / 0.7665 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.07e-05/0.005185, allocations: 180.9 kB / 0.7667 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.005231, allocations: 185.8 kB / 0.7669 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.936e-05/0.005271, allocations: 176.3 kB / 0.767 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-05/0.005315, allocations: 188.2 kB / 0.7672 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.005412, allocations: 311.7 kB / 0.7675 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.005447, allocations: 116.1 kB / 0.7676 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.005504, allocations: 181.1 kB / 0.7678 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.005574, allocations: 112.9 kB / 0.7679 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.005619, allocations: 180.3 kB / 0.7681 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.005644, allocations: 104.9 kB / 0.7682 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.779e-05/0.005672, allocations: 28.83 kB / 0.7682 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005672, allocations: 0 / 0.7682 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002697/0.005942, allocations: 24 kB / 0.7682 GB, free: 13.55 MB / 0.7292 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.0001286/0.006071, allocations: 173.9 kB / 0.7684 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.006171, allocations: 64.83 kB / 0.7685 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.006178, allocations: 4.844 kB / 0.7685 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.006179, allocations: 0 / 0.7685 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.006407, allocations: 472.7 kB / 0.7689 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.006616, allocations: 227 kB / 0.7691 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.647e-05/0.006653, allocations: 61.2 kB / 0.7692 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.944e-05/0.006732, allocations: 28.98 kB / 0.7692 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.006886, allocations: 117.8 kB / 0.7693 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/0.006886, allocations: 4 kB / 0.7693 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.003453/0.01034, allocations: 1.846 MB / 0.7711 GB, free: 10.68 MB / 0.7292 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: 4.993274264968932]