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.001754/0.001754, allocations: 78.81 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002114/0.002114, allocations: 162.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.902/2.902, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 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.513e-06/1.513e-06, allocations: 0 / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.061e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001672/0.001702, allocations: 0.6035 MB / 0.9821 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003791/0.002081, allocations: 67.8 kB / 0.9821 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.002104, allocations: 0 / 0.9821 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.39e-05/0.002147, allocations: 0 / 0.9821 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.002199, allocations: 11.92 kB / 0.9821 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.002555, allocations: 47.89 kB / 0.9822 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.00264, allocations: 39.75 kB / 0.9822 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.314e-05/0.002703, allocations: 0 / 0.9822 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.002759, allocations: 19.98 kB / 0.9823 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.003011, allocations: 71.91 kB / 0.9823 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.003032, allocations: 3.938 kB / 0.9823 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.003171, allocations: 43.89 kB / 0.9824 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.003216, allocations: 15.98 kB / 0.9824 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.003246, allocations: 15.94 kB / 0.9824 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.003421, allocations: 71.83 kB / 0.9825 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.003424, allocations: 0 / 0.9825 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003426, allocations: 4 kB / 0.9825 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.003431, allocations: 4 kB / 0.9825 GB, free: 9.844 MB / 0.8887 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.0003844/0.003815, allocations: 286.2 kB / 0.9827 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.003866, allocations: 12.03 kB / 0.9828 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.003922, allocations: 12.89 kB / 0.9828 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.004026, allocations: 113.7 kB / 0.9829 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.004043, allocations: 8.359 kB / 0.9829 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.004051, allocations: 384 / 0.9829 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.004514, allocations: 432.9 kB / 0.9833 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004522, allocations: 4.188 kB / 0.9833 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.004541, allocations: 8.125 kB / 0.9833 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.682e-05/0.004598, allocations: 23.98 kB / 0.9833 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.004673, allocations: 35.91 kB / 0.9834 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.005553, allocations: 0.8474 MB / 0.9842 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.005668, allocations: 169.1 kB / 0.9844 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.005718, allocations: 80.14 kB / 0.9844 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.005757, allocations: 79.28 kB / 0.9845 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.921e-05/0.005826, allocations: 113.8 kB / 0.9846 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.005827, allocations: 0 / 0.9846 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.674e-05/0.005924, allocations: 37.66 kB / 0.9847 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002614/0.006186, allocations: 383.7 kB / 0.985 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.006367, allocations: 184.8 kB / 0.9852 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.00639, allocations: 25.7 kB / 0.9852 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.006528, allocations: 159.5 kB / 0.9854 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.006538, allocations: 7.984 kB / 0.9854 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.006614, allocations: 53.66 kB / 0.9854 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.006764, allocations: 318.8 kB / 0.9857 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.006813, allocations: 31.91 kB / 0.9858 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.007178, allocations: 487.4 kB / 0.9862 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.007421, allocations: 201.8 kB / 0.9864 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.007426, allocations: 4 kB / 0.9864 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003292/0.007755, allocations: 189.2 kB / 0.9866 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.007774, allocations: 4 kB / 0.9866 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.007785, allocations: 11.98 kB / 0.9866 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.007803, allocations: 4 kB / 0.9866 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.007955, allocations: 39.92 kB / 0.9867 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.007969, allocations: 12.52 kB / 0.9867 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.00807, allocations: 35.78 kB / 0.9867 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.008087, allocations: 11.94 kB / 0.9867 GB, free: 4.934 MB / 0.8887 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.0001782/0.008265, allocations: 213 kB / 0.9869 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.008355, allocations: 112.9 kB / 0.987 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.824e-05/0.008423, allocations: 112.7 kB / 0.9871 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.059e-05/0.008504, allocations: 176.3 kB / 0.9873 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-05/0.008588, allocations: 184.2 kB / 0.9875 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/0.008697, allocations: 184.2 kB / 0.9877 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.008975, allocations: 368.8 kB / 0.988 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.223e-05/0.009027, allocations: 108.9 kB / 0.9881 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.009085, allocations: 105 kB / 0.9882 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.619e-05/0.009171, allocations: 188.2 kB / 0.9884 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.009264, allocations: 176.3 kB / 0.9886 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.593e-05/0.00936, allocations: 184.3 kB / 0.9887 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.833e-05/0.009458, allocations: 184.4 kB / 0.9889 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.009662, allocations: 323.7 kB / 0.9892 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.009733, allocations: 108.9 kB / 0.9893 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.009834, allocations: 180.3 kB / 0.9895 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.009951, allocations: 112.9 kB / 0.9896 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/0.01005, allocations: 180.2 kB / 0.9898 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.0101, allocations: 104.9 kB / 0.9899 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001286/0.01023, allocations: 125.1 kB / 0.99 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.01023, allocations: 0 / 0.99 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003367/0.01057, allocations: 27.94 kB / 0.99 GB, free: 1.359 MB / 0.8887 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.0002808/0.01085, allocations: 187.1 kB / 0.9902 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.01102, allocations: 72.95 kB / 0.9903 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01102, allocations: 8.062 kB / 0.9903 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.01102, allocations: 0 / 0.9903 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.01147, allocations: 469.6 kB / 0.9907 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.01182, allocations: 224.6 kB / 0.9909 GB, free: 392 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.491e-05/0.01192, allocations: 79.97 kB / 0.991 GB, free: 292 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.01212, allocations: 52.58 kB / 0.9911 GB, free: 240 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.01215, allocations: 16.59 kB / 0.9911 GB, free: 224 kB / 0.8887 GB Notification: Performance of SimCode: time 3.5e-07/0.01215, allocations: 3.938 kB / 0.9911 GB, free: 220 kB / 0.8887 GB Notification: Performance of Templates: time 0.005114/0.01726, allocations: 1.802 MB / 0.9928 GB, free: 14.49 MB / 0.9044 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: 8.033751580864191]