Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001352/0.001352, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00156/0.00156, allocations: 218.5 kB / 22.99 MB, free: 4.945 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.354/3.354, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [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.00208/0.00208, allocations: 67.05 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3689, allocations: 181.8 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002347/0.3712, allocations: 0.767 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3726, allocations: 0.8899 MB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.3726, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.254e-05/0.3727, allocations: 7.938 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/0.3728, allocations: 15.86 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.373, allocations: 39.95 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3731, allocations: 83.77 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3733, allocations: 19.97 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3734, allocations: 39.86 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.3735, allocations: 43.81 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.3735, allocations: 8 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.3735, allocations: 8 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.3735, allocations: 23.98 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.3736, allocations: 31.73 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3738, allocations: 99.58 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3738, allocations: 0 / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3738, allocations: 0 / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.3738, allocations: 0 / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000686/0.3745, allocations: 322 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3745, allocations: 8.031 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.3745, allocations: 8.891 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3747, allocations: 126.4 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3747, allocations: 4.375 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3748, allocations: 8.125 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.3751, allocations: 105.5 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3751, allocations: 0 / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3751, allocations: 4 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3751, allocations: 0 / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.3755, allocations: 99.91 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.376, allocations: 268.3 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.3767, allocations: 118.5 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.3769, allocations: 52.81 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3769, allocations: 3.984 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3769, allocations: 38.56 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3769, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006788/0.3776, allocations: 181.5 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3776, allocations: 51.41 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3778, allocations: 121.8 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3778, allocations: 29.7 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.3778, allocations: 96.09 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3779, allocations: 27.78 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.3779, allocations: 21.7 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3781, allocations: 322.8 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.3783, allocations: 43.95 kB / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3784, allocations: 43.95 kB / 1.369 GB, free: 9.262 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.3788, allocations: 104.8 kB / 1.369 GB, free: 9.156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3788, allocations: 3.938 kB / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000421/0.3792, allocations: 133.5 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3792, allocations: 4 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3793, allocations: 0.5469 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3793, allocations: 8 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.3794, allocations: 27.97 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.3794, allocations: 0 / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3796, allocations: 19.92 kB / 1.369 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.3796, allocations: 0 / 1.369 GB, free: 8.957 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001042/0.3797, allocations: 122.9 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3797, allocations: 7.953 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.3802, allocations: 153.9 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3802, allocations: 7.938 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3802, allocations: 0 / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3802, allocations: 3.938 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.3804, allocations: 137.2 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3804, allocations: 0 / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3806, allocations: 23.97 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3806, allocations: 4 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3806, allocations: 11.98 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3806, allocations: 0 / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3806, allocations: 0 / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.3811, allocations: 235.3 kB / 1.37 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.3811, allocations: 7.953 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.3811, allocations: 0 / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3813, allocations: 19.98 kB / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/0.3814, allocations: 19.97 kB / 1.37 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3814, allocations: 4 kB / 1.37 GB, free: 8.148 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.903e-05/0.3814, allocations: 91.7 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002474/0.3817, allocations: 15.94 kB / 1.37 GB, free: 8.043 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001428/0.3818, allocations: 111.2 kB / 1.37 GB, free: 7.926 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.3823, allocations: 107.8 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3823, allocations: 0 / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.3825, allocations: 59.94 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3828, allocations: 5.562 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.3833, allocations: 200 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.053e-05/0.3834, allocations: 79.33 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.3835, allocations: 15.44 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3835, allocations: 0 / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of Templates: time 0.003139/0.3866, allocations: 1.262 MB / 1.372 GB, free: 6.16 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.278645071201026]