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.0009772/0.0009772, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001701/0.002678, allocations: 449.7 kB / 10.37 MB, free: 324 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.000804/0.000804, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.00188, allocations: 459.6 kB / 11.71 MB, free: 2.453 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 1.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0884/1.112, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.899/1.899, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5305/2.43, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.603e-06/1.603e-06, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.119e-05, allocations: 3.906 kB / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001499/0.001521, allocations: 0.6735 MB / 0.73 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.001669, allocations: 68.39 kB / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.00169, allocations: 0.6562 kB / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.001711, allocations: 7.938 kB / 0.7301 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.001736, allocations: 9.688 kB / 0.7301 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.00193, allocations: 33.36 kB / 0.7302 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.001998, allocations: 22.94 kB / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.00204, allocations: 8.75 kB / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.002093, allocations: 29.52 kB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.002261, allocations: 68.48 kB / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.002274, allocations: 1.5 kB / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.002387, allocations: 48.42 kB / 0.7303 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.002418, allocations: 15.7 kB / 0.7303 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.002437, allocations: 11.56 kB / 0.7304 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.002558, allocations: 59.16 kB / 0.7304 GB, free: 3.457 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.002572, allocations: 4 kB / 0.7304 GB, free: 3.453 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.283e-06/0.002573, allocations: 0.875 kB / 0.7304 GB, free: 3.453 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.002586, allocations: 0 / 0.7304 GB, free: 3.453 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.0002735/0.002859, allocations: 270.7 kB / 0.7307 GB, free: 3.164 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.00289, allocations: 8.031 kB / 0.7307 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.00292, allocations: 12.92 kB / 0.7307 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.587e-05/0.002976, allocations: 109.7 kB / 0.7308 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.002988, allocations: 9.016 kB / 0.7308 GB, free: 3.004 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.002999, allocations: 5.062 kB / 0.7308 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.003211, allocations: 371.7 kB / 0.7312 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.003217, allocations: 2.672 kB / 0.7312 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.003229, allocations: 8.125 kB / 0.7312 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.003272, allocations: 19.98 kB / 0.7312 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.18e-05/0.003303, allocations: 31.86 kB / 0.7312 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.003826, allocations: 0.7952 MB / 0.732 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.003894, allocations: 173.9 kB / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.003917, allocations: 80.14 kB / 0.7322 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.003936, allocations: 76.33 kB / 0.7323 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.003978, allocations: 114.4 kB / 0.7324 GB, free: 1.203 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.00398, allocations: 0 / 0.7324 GB, free: 1.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.44e-05/0.004044, allocations: 38.81 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.004105, allocations: 134.6 kB / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.004206, allocations: 165.9 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.004222, allocations: 30.58 kB / 0.7328 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.004296, allocations: 155 kB / 0.7329 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.004304, allocations: 8.594 kB / 0.7329 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.004352, allocations: 49.66 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.004428, allocations: 319.5 kB / 0.7333 GB, free: 280 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.004441, allocations: 11.98 kB / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.004652, allocations: 469.8 kB / 0.7338 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.004782, allocations: 182.8 kB / 0.7339 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.004786, allocations: 1.75 kB / 0.7339 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001596/0.004945, allocations: 152.7 kB / 0.7341 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.00496, allocations: 8 kB / 0.7341 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.004967, allocations: 4.594 kB / 0.7341 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004979, allocations: 8 kB / 0.7341 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.005062, allocations: 45.44 kB / 0.7341 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.005068, allocations: 8 kB / 0.7341 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.005128, allocations: 28.91 kB / 0.7342 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.005137, allocations: 11.98 kB / 0.7342 GB, free: 15.15 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 8.494e-05/0.005222, allocations: 212.8 kB / 0.7344 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.005263, allocations: 109 kB / 0.7345 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.005306, allocations: 116.8 kB / 0.7346 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.024e-05/0.005346, allocations: 185.6 kB / 0.7348 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.724e-05/0.005394, allocations: 177.4 kB / 0.7349 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.971e-05/0.005433, allocations: 180.2 kB / 0.7351 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.005586, allocations: 337.4 kB / 0.7354 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/0.005612, allocations: 101.9 kB / 0.7355 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.005638, allocations: 108.9 kB / 0.7356 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.005673, allocations: 108.9 kB / 0.7357 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-05/0.005714, allocations: 182.2 kB / 0.7359 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.005755, allocations: 184.2 kB / 0.7361 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.692e-05/0.005792, allocations: 176.3 kB / 0.7363 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.326e-05/0.005835, allocations: 193.3 kB / 0.7364 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.005937, allocations: 315.9 kB / 0.7367 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.005993, allocations: 184.3 kB / 0.7369 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.006044, allocations: 103.7 kB / 0.737 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.006091, allocations: 185.1 kB / 0.7372 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.006122, allocations: 101 kB / 0.7373 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.006156, allocations: 38.5 kB / 0.7373 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006156, allocations: 0 / 0.7373 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002021/0.006358, allocations: 24 kB / 0.7374 GB, free: 11.72 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.0001501/0.006508, allocations: 178.2 kB / 0.7375 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.006612, allocations: 61.25 kB / 0.7376 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.00662, allocations: 4.547 kB / 0.7376 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.006621, allocations: 0 / 0.7376 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.006826, allocations: 487.5 kB / 0.7381 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.007063, allocations: 225.5 kB / 0.7383 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.007099, allocations: 60 kB / 0.7383 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.468e-05/0.007173, allocations: 32.27 kB / 0.7384 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.007301, allocations: 113.1 kB / 0.7385 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.007302, allocations: 0 / 0.7385 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.003822/0.01112, allocations: 1.864 MB / 0.7403 GB, free: 8.824 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.072312205098569]