Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002073/0.002073, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002514/0.002514, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.2/3.2, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002028/0.002028, allocations: 63.06 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3784, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0017/0.3801, allocations: 0.6087 MB / 1.355 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003286/0.3804, allocations: 75.78 kB / 1.355 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.3805, allocations: 0 / 1.355 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.3805, allocations: 4 kB / 1.355 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.3805, allocations: 3.938 kB / 1.355 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.3808, allocations: 47.94 kB / 1.355 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.91e-05/0.3809, allocations: 23.97 kB / 1.355 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.3809, allocations: 416 / 1.355 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.381, allocations: 19.92 kB / 1.355 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.3812, allocations: 71.88 kB / 1.355 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.3812, allocations: 0 / 1.355 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3813, allocations: 55.94 kB / 1.355 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.3814, allocations: 19.91 kB / 1.355 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.3814, allocations: 19.88 kB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.3815, allocations: 63.73 kB / 1.355 GB, free: 6.906 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3815, allocations: 4 kB / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3815, allocations: 0 / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3816, allocations: 4 kB / 1.355 GB, free: 6.898 MB / 1.045 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.0003528/0.3819, allocations: 286.1 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.3819, allocations: 16.03 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.382, allocations: 8.891 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3821, allocations: 110.5 kB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3821, allocations: 8.312 kB / 1.356 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.3821, allocations: 384 / 1.356 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.3824, allocations: 187.4 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3824, allocations: 0 / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3824, allocations: 4 kB / 1.356 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.3824, allocations: 23.98 kB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.802e-05/0.3825, allocations: 39.89 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.3832, allocations: 0.878 MB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.3833, allocations: 165.1 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.3834, allocations: 84.08 kB / 1.357 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.3834, allocations: 79.28 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/0.3835, allocations: 117.8 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3835, allocations: 0 / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.082e-05/0.3836, allocations: 33.66 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/0.3838, allocations: 391.7 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3839, allocations: 167.9 kB / 1.358 GB, free: 4.078 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.384, allocations: 33.7 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.384, allocations: 147.5 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.3841, allocations: 7.938 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.3841, allocations: 53.66 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3843, allocations: 326.8 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.3843, allocations: 27.97 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3845, allocations: 216.6 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.3847, allocations: 201.8 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3847, allocations: 0 / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003056/0.385, allocations: 193.7 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.385, allocations: 9.562 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3851, allocations: 12.05 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3851, allocations: 11.94 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3852, allocations: 35.92 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3852, allocations: 11.94 kB / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.3853, allocations: 27.83 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3853, allocations: 8 kB / 1.359 GB, free: 2.594 MB / 1.045 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.0001465/0.3855, allocations: 217 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.3856, allocations: 112.9 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.3856, allocations: 116.7 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-05/0.3857, allocations: 184.2 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.212e-05/0.3858, allocations: 184.3 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.913e-05/0.3859, allocations: 180.2 kB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.3861, allocations: 392.3 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.891e-05/0.3862, allocations: 109 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.3862, allocations: 104.9 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.78e-05/0.3863, allocations: 180.3 kB / 1.361 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.3864, allocations: 184.2 kB / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.83e-05/0.3864, allocations: 184.2 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.318e-05/0.3865, allocations: 184.2 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.3867, allocations: 312.3 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.3868, allocations: 112.9 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/0.3869, allocations: 184.3 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.387, allocations: 112.9 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.387, allocations: 188.5 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.3871, allocations: 104.9 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.528e-05/0.3872, allocations: 120.9 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3872, allocations: 0 / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003099/0.3875, allocations: 27.94 kB / 1.362 GB, free: 14.97 MB / 1.061 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.0002131/0.3877, allocations: 182.5 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.3879, allocations: 75.81 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3879, allocations: 0 / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3879, allocations: 0 / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3883, allocations: 468.9 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.3886, allocations: 266.1 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.389, allocations: 0.693 MB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.389, allocations: 15.44 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.389, allocations: 0 / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of Templates: time 0.003565/0.3925, allocations: 1.709 MB / 1.366 GB, free: 11.53 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.195707513979869]