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.0007522/0.0007522, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007653/0.0007653, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8987/0.8987, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.791/1.791, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.363e-05, allocations: 9.031 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00157/0.001594, allocations: 0.7523 MB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.002531, allocations: 0.8867 MB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.002574, allocations: 4 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.002605, allocations: 3.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.002677, allocations: 15.8 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.002831, allocations: 43.83 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.002924, allocations: 87.81 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.003032, allocations: 23.92 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.003265, allocations: 43.95 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.003334, allocations: 43.88 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.003364, allocations: 8 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.003376, allocations: 8 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.003405, allocations: 27.91 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.003438, allocations: 19.92 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.003566, allocations: 95.7 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003568, allocations: 3.938 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003568, allocations: 0 / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.003574, allocations: 3.984 kB / 1.003 GB, free: 10.91 MB / 0.9636 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.0004243/0.003998, allocations: 318 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.004034, allocations: 12.75 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.004068, allocations: 12.84 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.731e-05/0.004166, allocations: 113.7 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.004182, allocations: 8.375 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.004194, allocations: 4.375 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.00439, allocations: 102.2 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.0044, allocations: 3.938 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004411, allocations: 4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.004415, allocations: 4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.004609, allocations: 103.8 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.004945, allocations: 268.3 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.005377, allocations: 126.5 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.005486, allocations: 56.81 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.005513, allocations: 4 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.005528, allocations: 30.56 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.00553, allocations: 0 / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003777/0.005907, allocations: 185.5 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.005937, allocations: 55.34 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.006006, allocations: 121.8 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.006018, allocations: 29.7 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.006058, allocations: 96.08 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.00608, allocations: 19.84 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.006115, allocations: 21.7 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.006188, allocations: 326.8 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.006286, allocations: 47.95 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.006372, allocations: 48.25 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.006549, allocations: 92.78 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006551, allocations: 3.938 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002197/0.00677, allocations: 141.5 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.006782, allocations: 5.719 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006786, allocations: 4 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.006798, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.006878, allocations: 27.97 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.006882, allocations: 0 / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.006932, allocations: 11.98 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.006939, allocations: 3.984 kB / 1.005 GB, free: 8.371 MB / 0.9636 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 6.777e-05/0.007007, allocations: 121.8 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.007025, allocations: 7.953 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.007286, allocations: 153.9 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007288, allocations: 0 / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.007292, allocations: 3.938 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.007296, allocations: 7.984 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.007403, allocations: 133.2 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007404, allocations: 3.984 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.007469, allocations: 23.97 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.00747, allocations: 0 / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.00748, allocations: 8 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.007481, allocations: 0 / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.007482, allocations: 0 / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.007723, allocations: 239.4 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.007734, allocations: 11.89 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.007746, allocations: 3.938 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.007809, allocations: 11.98 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.007866, allocations: 19.97 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.007873, allocations: 11.98 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.007908, allocations: 95.27 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007908, allocations: 0 / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001478/0.008056, allocations: 12 kB / 1.006 GB, free: 7.457 MB / 0.9636 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.0003476/0.008403, allocations: 105.5 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.008632, allocations: 95.91 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008633, allocations: 0 / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.008731, allocations: 59.88 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.00892, allocations: 15.94 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.009231, allocations: 207.8 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.009276, allocations: 71.33 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.009325, allocations: 24.48 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.009325, allocations: 3.938 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of Templates: time 0.001795/0.01112, allocations: 1.256 MB / 1.008 GB, free: 5.566 MB / 0.9636 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/jenkins/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: 6.4579222882166505]