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.002137/0.002137, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002458/0.002458, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.472/1.472, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.705/2.705, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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 1.953e-06/1.953e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.515e-05, allocations: 5.719 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002379/0.002415, allocations: 0.7601 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.004062, allocations: 0.8914 MB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.004127, allocations: 4 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.004169, allocations: 7.875 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.004278, allocations: 14.23 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.00451, allocations: 39.89 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.004666, allocations: 83.83 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.004814, allocations: 23.97 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.004961, allocations: 47.89 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.005057, allocations: 41.72 kB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.005089, allocations: 8 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.168e-05/0.005111, allocations: 8 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.005151, allocations: 27.91 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.005201, allocations: 23.92 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.005395, allocations: 92.19 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.005402, allocations: 5.453 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005404, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.00541, allocations: 0 / 0.7884 GB, free: 10.74 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.0007787/0.006188, allocations: 315.1 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.006234, allocations: 12.03 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.559e-05/0.00631, allocations: 13.62 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.006485, allocations: 121.7 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.006509, allocations: 5.344 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.006526, allocations: 4.375 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.006899, allocations: 108 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.006913, allocations: 3.938 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.006931, allocations: 4 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.006942, allocations: 4 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.007347, allocations: 96.61 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.007973, allocations: 270.5 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.008642, allocations: 122.6 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.008851, allocations: 49.88 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.008878, allocations: 0.875 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.008913, allocations: 42.5 kB / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.008914, allocations: 0 / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0007739/0.009688, allocations: 188 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.009738, allocations: 53.16 kB / 0.7898 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.00987, allocations: 117.8 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.009896, allocations: 25.7 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.009976, allocations: 104 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.01001, allocations: 19.8 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.01007, allocations: 26.55 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.01025, allocations: 322.8 kB / 0.7904 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.01045, allocations: 44.8 kB / 0.7904 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.01066, allocations: 49.48 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.01104, allocations: 102.9 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01104, allocations: 0 / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004721/0.01152, allocations: 142.9 kB / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.01154, allocations: 5.5 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01155, allocations: 0 / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.01157, allocations: 0 / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01175, allocations: 26.81 kB / 0.7907 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.01177, allocations: 7.938 kB / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01189, allocations: 11.98 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.0119, allocations: 7.984 kB / 0.7907 GB, free: 8.215 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.0001175/0.01202, allocations: 117.8 kB / 0.7908 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.01206, allocations: 7.953 kB / 0.7909 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.01259, allocations: 145 kB / 0.791 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01259, allocations: 4 kB / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.0126, allocations: 0 / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.0126, allocations: 3.984 kB / 0.791 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.01281, allocations: 133.9 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.01281, allocations: 3.984 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.01298, allocations: 28.59 kB / 0.7912 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01299, allocations: 2.844 kB / 0.7912 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.013, allocations: 8 kB / 0.7912 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.013, allocations: 0 / 0.7912 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.013, allocations: 0 / 0.7912 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.01355, allocations: 233.4 kB / 0.7914 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.01357, allocations: 12.02 kB / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.01358, allocations: 0 / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.01374, allocations: 19.92 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.01384, allocations: 23.97 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01385, allocations: 8.922 kB / 0.7915 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.01393, allocations: 95.27 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01393, allocations: 1.125 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002516/0.01418, allocations: 12 kB / 0.7916 GB, free: 7.324 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.0001611/0.01434, allocations: 104.2 kB / 0.7917 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.01482, allocations: 109.1 kB / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01482, allocations: 1.75 kB / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.01504, allocations: 59.89 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.01541, allocations: 21.27 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.01593, allocations: 177 kB / 0.792 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.59e-05/0.01601, allocations: 72.42 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.592e-05/0.01609, allocations: 15.98 kB / 0.7921 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.01617, allocations: 24.48 kB / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01617, allocations: 0 / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of Templates: time 0.005338/0.02151, allocations: 1.707 MB / 0.7938 GB, free: 5.016 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] 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.802288286969997]