Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.906/0.908, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001777/0.9098, allocations: 0.5976 MB / 1.275 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.9101, allocations: 75.84 kB / 1.275 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.9102, allocations: 3.938 kB / 1.275 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.9102, allocations: 3.984 kB / 1.275 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.9102, allocations: 7.938 kB / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.9105, allocations: 47.94 kB / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.9106, allocations: 23.92 kB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.9106, allocations: 0 / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.9107, allocations: 19.97 kB / 1.275 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.9109, allocations: 67.88 kB / 1.275 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.9109, allocations: 0 / 1.275 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.911, allocations: 39.95 kB / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.911, allocations: 23.91 kB / 1.275 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.9111, allocations: 15.88 kB / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.9112, allocations: 66.47 kB / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.9112, allocations: 0 / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9112, allocations: 0 / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.9112, allocations: 0 / 1.275 GB, free: 3.594 MB / 0.9669 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.0003932/0.9116, allocations: 375.2 kB / 1.275 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.9117, allocations: 8.031 kB / 1.275 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.9117, allocations: 8.891 kB / 1.275 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.9118, allocations: 172.3 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.9118, allocations: 4.312 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.9118, allocations: 4.359 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.9121, allocations: 183.4 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9121, allocations: 0 / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.9121, allocations: 4 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.903e-05/0.9122, allocations: 23.97 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.733e-05/0.9122, allocations: 35.86 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.913, allocations: 0.9063 MB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.897e-05/0.9131, allocations: 173.1 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.9131, allocations: 80.14 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.9131, allocations: 79.28 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.9132, allocations: 109.8 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9132, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.351e-05/0.9133, allocations: 49.67 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002279/0.9135, allocations: 387.7 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.9137, allocations: 164.3 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.9137, allocations: 37.69 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.9138, allocations: 147.5 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.9138, allocations: 0 / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.9139, allocations: 57.66 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.914, allocations: 330.7 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.9141, allocations: 23.98 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.9143, allocations: 222.5 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.9145, allocations: 197.8 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.9145, allocations: 8 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003038/0.9148, allocations: 185.7 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.9148, allocations: 12.12 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.9148, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.9149, allocations: 11.94 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.915, allocations: 35.92 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.915, allocations: 11.94 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.55e-05/0.9151, allocations: 35.77 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.9151, allocations: 12 kB / 1.279 GB, free: 15.07 MB / 0.9825 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.0001433/0.9153, allocations: 213.5 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.9153, allocations: 112.9 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.795e-05/0.9154, allocations: 116.8 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.394e-05/0.9155, allocations: 184.2 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.482e-05/0.9156, allocations: 180.2 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.09e-05/0.9156, allocations: 176.3 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.9159, allocations: 429.1 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-05/0.916, allocations: 105.1 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.916, allocations: 104.9 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-05/0.9161, allocations: 185.8 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.9162, allocations: 180.3 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.762e-05/0.9162, allocations: 188.1 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.947e-05/0.9163, allocations: 180.3 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.9165, allocations: 311.7 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.9166, allocations: 190 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/0.9167, allocations: 184.2 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.9168, allocations: 108.9 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.9169, allocations: 188.2 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.9169, allocations: 101 kB / 1.282 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.68e-05/0.917, allocations: 117.3 kB / 1.282 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.917, allocations: 4 kB / 1.282 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003159/0.9173, allocations: 24 kB / 1.282 GB, free: 11.35 MB / 0.9825 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.000211/0.9175, allocations: 186.5 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.9177, allocations: 71.78 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9177, allocations: 0 / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.9177, allocations: 0 / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.9181, allocations: 478.5 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.9185, allocations: 244.9 kB / 1.283 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.9188, allocations: 0.6929 MB / 1.284 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.919, allocations: 52.59 kB / 1.284 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.919, allocations: 15.44 kB / 1.284 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.919, allocations: 0 / 1.284 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Templates: time 0.004439/0.9234, allocations: 1.734 MB / 1.286 GB, free: 7.863 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.807431092951447]