Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001949/0.001949, allocations: 79.75 kB / 20.23 MB, free: 4.172 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.002863/0.002863, allocations: 161.4 kB / 23.55 MB, free: 0.8555 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 1.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.872/2.872, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.381e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002168/0.002202, allocations: 0.7612 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.0036, allocations: 0.8984 MB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.003661, allocations: 5.406 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.003698, allocations: 11.86 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.003803, allocations: 7.875 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003995, allocations: 40.95 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.004145, allocations: 91.75 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.004261, allocations: 17.56 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.004397, allocations: 51.88 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.004494, allocations: 39.88 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.004526, allocations: 8 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.205e-05/0.004558, allocations: 9.562 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.004593, allocations: 19.92 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.004642, allocations: 27.91 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.00482, allocations: 95.7 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004823, allocations: 1.062 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004824, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.004829, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.7448 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.0007076/0.005537, allocations: 412.5 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.005578, allocations: 13.19 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.005639, allocations: 8.891 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.005796, allocations: 124.6 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.005815, allocations: 2.562 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.005831, allocations: 4.375 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.006103, allocations: 94.19 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.006116, allocations: 3.938 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.00613, allocations: 0 / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.006138, allocations: 6.031 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.006429, allocations: 79.88 kB / 0.7891 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.007301, allocations: 335.5 kB / 0.7895 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.007904, allocations: 111.8 kB / 0.7896 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.008049, allocations: 48.19 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.008077, allocations: 1.656 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.00811, allocations: 37.39 kB / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.008112, allocations: 0 / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006167/0.008728, allocations: 154.2 kB / 0.7898 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.008787, allocations: 56.38 kB / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.008982, allocations: 185.9 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.009012, allocations: 29.69 kB / 0.7901 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.009128, allocations: 143.9 kB / 0.7902 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.00917, allocations: 23.8 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.009246, allocations: 35.36 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002861/0.009533, allocations: 0.4975 MB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.009668, allocations: 31.98 kB / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.009783, allocations: 34.03 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.01003, allocations: 79.8 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01003, allocations: 0 / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003385/0.01037, allocations: 118.5 kB / 0.791 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01039, allocations: 8 kB / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.0104, allocations: 1.438 kB / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01041, allocations: 0 / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.01055, allocations: 15.98 kB / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01056, allocations: 1.312 kB / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.01065, allocations: 15.98 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.01066, allocations: 0 / 0.791 GB, free: 7.871 MB / 0.7448 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.0001391/0.0108, allocations: 167.5 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.01084, allocations: 7.953 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.01123, allocations: 138 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01123, allocations: 0 / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01124, allocations: 0 / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01124, allocations: 0 / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.01147, allocations: 149 kB / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01147, allocations: 1.938 kB / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.0116, allocations: 15.98 kB / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.01161, allocations: 4 kB / 0.7915 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.01162, allocations: 4 kB / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.01163, allocations: 3.984 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01163, allocations: 2.594 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.01207, allocations: 271.7 kB / 0.7918 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.01209, allocations: 16 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01211, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01222, allocations: 8 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.0123, allocations: 24.75 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01232, allocations: 7.984 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001064/0.01242, allocations: 148.4 kB / 0.792 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01242, allocations: 0 / 0.792 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002295/0.01265, allocations: 12 kB / 0.792 GB, free: 6.852 MB / 0.7448 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.0001517/0.0128, allocations: 100.5 kB / 0.7921 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.01315, allocations: 92.48 kB / 0.7921 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01316, allocations: 0.5312 kB / 0.7921 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.01335, allocations: 66.39 kB / 0.7922 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01362, allocations: 15.94 kB / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.01413, allocations: 182.7 kB / 0.7924 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.241e-05/0.01423, allocations: 75.33 kB / 0.7925 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.699e-05/0.01429, allocations: 12.25 kB / 0.7925 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.01437, allocations: 24.48 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01437, allocations: 1.125 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.005388/0.01976, allocations: 1.721 MB / 0.7942 GB, free: 4.547 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.9806019209790975]