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.001392/0.001392, allocations: 110 kB / 16.45 MB, free: 6.496 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.001382/0.001382, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.46/1.46, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.205/3.205, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 74.61 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001706/0.3188, allocations: 0.6207 MB / 1.322 GB, free: 2.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003279/0.3191, allocations: 67.84 kB / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.3192, allocations: 0 / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.3192, allocations: 3.938 kB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.3193, allocations: 11.98 kB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3196, allocations: 39.89 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.487e-05/0.3196, allocations: 23.97 kB / 1.322 GB, free: 2.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.3197, allocations: 4 kB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.688e-05/0.3197, allocations: 11.98 kB / 1.322 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.3199, allocations: 71.8 kB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3199, allocations: 4 kB / 1.322 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.32, allocations: 35.97 kB / 1.322 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.3201, allocations: 19.92 kB / 1.322 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.3201, allocations: 23.86 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3202, allocations: 71.66 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3202, allocations: 0 / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3202, allocations: 4 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3203, allocations: 0 / 1.322 GB, free: 1.805 MB / 1.014 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.0004167/0.3207, allocations: 363.3 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3207, allocations: 15.98 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.3207, allocations: 8.891 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3209, allocations: 160.4 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3209, allocations: 4.359 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3209, allocations: 8.375 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.3212, allocations: 187.4 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3212, allocations: 0 / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3212, allocations: 0 / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.3212, allocations: 27.92 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.3213, allocations: 35.91 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.3221, allocations: 0.9179 MB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3222, allocations: 165.6 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.3222, allocations: 80.14 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3223, allocations: 75.28 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.3223, allocations: 109.8 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3223, allocations: 7.938 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.839e-05/0.3224, allocations: 45.59 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002083/0.3226, allocations: 387.7 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3228, allocations: 163.6 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3228, allocations: 25.7 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3229, allocations: 155.5 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/0.3229, allocations: 7.984 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.323, allocations: 53.7 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3231, allocations: 322.8 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.3232, allocations: 27.97 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.3234, allocations: 221.5 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.3236, allocations: 201.7 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3236, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003154/0.3239, allocations: 193.1 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3239, allocations: 8 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3239, allocations: 4.094 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.324, allocations: 11.88 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3241, allocations: 40.58 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.3241, allocations: 7.984 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.3242, allocations: 35.78 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3242, allocations: 16 kB / 1.326 GB, free: 13.29 MB / 1.029 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.0001452/0.3244, allocations: 209 kB / 1.326 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.3244, allocations: 112.9 kB / 1.326 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.3245, allocations: 112.9 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.682e-05/0.3246, allocations: 184.1 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-05/0.3247, allocations: 184.2 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.707e-05/0.3247, allocations: 180.3 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.325, allocations: 417.2 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.207e-05/0.3251, allocations: 109 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.3251, allocations: 108.9 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.079e-05/0.3252, allocations: 180.3 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-05/0.3253, allocations: 184.2 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.976e-05/0.3254, allocations: 184.2 kB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.703e-05/0.3254, allocations: 176.3 kB / 1.328 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.3256, allocations: 319.7 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3257, allocations: 190 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.3258, allocations: 184.2 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.3259, allocations: 108.9 kB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.326, allocations: 188.5 kB / 1.329 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.326, allocations: 101 kB / 1.329 GB, free: 9.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.652e-05/0.3261, allocations: 119.2 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3261, allocations: 0 / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003068/0.3264, allocations: 28 kB / 1.33 GB, free: 9.562 MB / 1.029 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.0002419/0.3267, allocations: 186.5 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.3269, allocations: 81 kB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3269, allocations: 4.062 kB / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3269, allocations: 0 / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3273, allocations: 472.1 kB / 1.33 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.3276, allocations: 228.6 kB / 1.331 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.328, allocations: 0.6967 MB / 1.331 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.3282, allocations: 56.58 kB / 1.331 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.3282, allocations: 15.44 kB / 1.331 GB, free: 7.781 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3282, allocations: 4 kB / 1.331 GB, free: 7.777 MB / 1.029 GB Notification: Performance of Templates: time 0.004776/0.333, allocations: 1.692 MB / 1.333 GB, free: 6.117 MB / 1.029 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.757744843605906]