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.000951/0.000951, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.002079, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007168/0.0007168, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000959/0.001676, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9774/0.9774, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08361/1.061, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.846/1.846, allocations: 378.3 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4915/2.337, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 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.433e-06/1.433e-06, allocations: 0 / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.227e-05, allocations: 4.422 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001995/0.002017, allocations: 0.6862 MB / 0.7304 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001944/0.002211, allocations: 64.53 kB / 0.7304 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.002232, allocations: 1.875 kB / 0.7304 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.002253, allocations: 3.938 kB / 0.7304 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.002283, allocations: 9.078 kB / 0.7304 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.002472, allocations: 47.3 kB / 0.7305 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.072e-05/0.002543, allocations: 18.39 kB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.002587, allocations: 8.656 kB / 0.7305 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.002639, allocations: 29.05 kB / 0.7305 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.002817, allocations: 64.92 kB / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.002832, allocations: 3.938 kB / 0.7306 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.002961, allocations: 48.44 kB / 0.7307 GB, free: 3.418 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.003001, allocations: 21.86 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.00302, allocations: 5.641 kB / 0.7307 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.003152, allocations: 58.73 kB / 0.7307 GB, free: 3.344 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.003163, allocations: 0.8125 kB / 0.7307 GB, free: 3.344 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003164, allocations: 0.7656 kB / 0.7307 GB, free: 3.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.003176, allocations: 0.5938 kB / 0.7307 GB, free: 3.344 MB / 0.698 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.000334/0.00351, allocations: 276.5 kB / 0.731 GB, free: 3.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.003548, allocations: 9.75 kB / 0.731 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.003587, allocations: 4.938 kB / 0.731 GB, free: 3.035 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.00366, allocations: 113.7 kB / 0.7311 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.003673, allocations: 5.234 kB / 0.7311 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.003692, allocations: 13.19 kB / 0.7311 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.003935, allocations: 371.7 kB / 0.7315 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003942, allocations: 192 / 0.7315 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.003954, allocations: 5.594 kB / 0.7315 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.004003, allocations: 23.97 kB / 0.7315 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.004046, allocations: 27.92 kB / 0.7316 GB, free: 2.379 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.004541, allocations: 0.7913 MB / 0.7323 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.093e-05/0.004612, allocations: 178.9 kB / 0.7325 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.004637, allocations: 80.14 kB / 0.7326 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.004657, allocations: 76.12 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.0047, allocations: 109.8 kB / 0.7328 GB, free: 1.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.004701, allocations: 1.75 kB / 0.7328 GB, free: 1.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.004e-05/0.004771, allocations: 41.22 kB / 0.7328 GB, free: 1.051 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.004816, allocations: 130.7 kB / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.004924, allocations: 168.2 kB / 0.7331 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.004938, allocations: 30.2 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.005019, allocations: 153 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.005025, allocations: 9.078 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.005084, allocations: 49.66 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.005177, allocations: 322.8 kB / 0.7336 GB, free: 164 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.005193, allocations: 8.562 kB / 0.7336 GB, free: 156 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.005444, allocations: 479.2 kB / 0.7341 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.005607, allocations: 191.1 kB / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.00561, allocations: 0 / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002072/0.005817, allocations: 153.4 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.005832, allocations: 9.25 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.005839, allocations: 4 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.005855, allocations: 8 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.005977, allocations: 40.95 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.005987, allocations: 11.98 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.068e-05/0.006077, allocations: 28.61 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.006091, allocations: 12.53 kB / 0.7345 GB, free: 15.02 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 9.487e-05/0.006186, allocations: 209.4 kB / 0.7347 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.006243, allocations: 116.9 kB / 0.7348 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.006288, allocations: 108.8 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.665e-05/0.006334, allocations: 184.2 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-05/0.006385, allocations: 181.5 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.428e-05/0.006439, allocations: 177 kB / 0.7355 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.006612, allocations: 341.3 kB / 0.7358 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.81e-05/0.00664, allocations: 101.9 kB / 0.7359 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.00667, allocations: 104.9 kB / 0.736 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.006714, allocations: 113.6 kB / 0.7361 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.724e-05/0.006761, allocations: 176.3 kB / 0.7363 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.006812, allocations: 192.9 kB / 0.7364 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-05/0.00686, allocations: 176.9 kB / 0.7366 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.872e-05/0.006909, allocations: 181 kB / 0.7368 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.007026, allocations: 319.7 kB / 0.7371 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.00709, allocations: 180.9 kB / 0.7373 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.007167, allocations: 105 kB / 0.7374 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.00722, allocations: 190.6 kB / 0.7375 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.00725, allocations: 105.8 kB / 0.7376 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.007286, allocations: 34.89 kB / 0.7377 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007286, allocations: 0 / 0.7377 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003048/0.007591, allocations: 24 kB / 0.7377 GB, free: 11.6 MB / 0.7136 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.0001499/0.007741, allocations: 170.1 kB / 0.7379 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.007865, allocations: 76.08 kB / 0.7379 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.007875, allocations: 5.031 kB / 0.7379 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.007878, allocations: 0 / 0.7379 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.008168, allocations: 495.5 kB / 0.7384 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.008411, allocations: 224 kB / 0.7386 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.31e-05/0.008454, allocations: 64 kB / 0.7387 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.047e-05/0.008544, allocations: 24.98 kB / 0.7387 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.008728, allocations: 108.5 kB / 0.7388 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.008729, allocations: 1.5 kB / 0.7388 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of Templates: time 0.003574/0.0123, allocations: 1.677 MB / 0.7404 GB, free: 8.879 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7347053131088614]