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.001341/0.001341, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001018/0.001018, allocations: 169 kB / 23.27 MB, free: 1.223 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.9783/0.9783, allocations: 177.2 MB / 203.7 MB, free: 5.512 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 2.38/2.38, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.846e-06/2.846e-06, allocations: 0 / 0.8898 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.981e-05, allocations: 10.19 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001689/0.001719, allocations: 0.7863 MB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.002609, allocations: 0.9014 MB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.002654, allocations: 0 / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.002684, allocations: 3.938 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.002773, allocations: 11.81 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.002937, allocations: 51.88 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.003024, allocations: 79.83 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.003119, allocations: 23.92 kB / 0.8916 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.003212, allocations: 47.89 kB / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.003275, allocations: 39.88 kB / 0.8917 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.003297, allocations: 8 kB / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.00331, allocations: 8 kB / 0.8917 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.003333, allocations: 23.92 kB / 0.8917 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.003362, allocations: 27.91 kB / 0.8917 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.003461, allocations: 67.72 kB / 0.8918 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003463, allocations: 4 kB / 0.8918 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003464, allocations: 0 / 0.8918 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003468, allocations: 0 / 0.8918 GB, free: 7.676 MB / 0.8542 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.0003764/0.003844, allocations: 404.3 kB / 0.8922 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.00388, allocations: 8.625 kB / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.003917, allocations: 20.89 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.582e-05/0.003993, allocations: 128.4 kB / 0.8923 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.00401, allocations: 8.375 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.004021, allocations: 8.375 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.004166, allocations: 90.89 kB / 0.8924 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.004173, allocations: 3.938 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004183, allocations: 4 kB / 0.8924 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.004187, allocations: 0 / 0.8924 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.004229, allocations: 19.98 kB / 0.8925 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.004531, allocations: 300.2 kB / 0.8927 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.004763, allocations: 71.16 kB / 0.8928 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.004791, allocations: 23.67 kB / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.004811, allocations: 0 / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.004833, allocations: 41.38 kB / 0.8929 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.004834, allocations: 3.938 kB / 0.8929 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001638/0.004998, allocations: 85.53 kB / 0.893 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.005019, allocations: 51.41 kB / 0.893 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.00509, allocations: 177.9 kB / 0.8932 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.005101, allocations: 25.7 kB / 0.8932 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.005149, allocations: 146.8 kB / 0.8933 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.005169, allocations: 19.8 kB / 0.8934 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.005207, allocations: 35.34 kB / 0.8934 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.005313, allocations: 0.4884 MB / 0.8939 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.005339, allocations: 8 kB / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.005359, allocations: 11.98 kB / 0.8939 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.005414, allocations: 39.55 kB / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005415, allocations: 0 / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.057e-05/0.005506, allocations: 65.62 kB / 0.894 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.005516, allocations: 8 kB / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.00552, allocations: 4 kB / 0.894 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.00553, allocations: 0 / 0.894 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.005613, allocations: 19.97 kB / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.005615, allocations: 0 / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.005651, allocations: 8 kB / 0.894 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.005658, allocations: 7.984 kB / 0.894 GB, free: 5.176 MB / 0.8542 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.687e-05/0.005725, allocations: 160.5 kB / 0.8942 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.005747, allocations: 15.95 kB / 0.8942 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.005867, allocations: 74.64 kB / 0.8943 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.005869, allocations: 4 kB / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005871, allocations: 0 / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.005874, allocations: 3.984 kB / 0.8943 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.005984, allocations: 125.2 kB / 0.8944 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.005985, allocations: 0 / 0.8944 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.006044, allocations: 19.92 kB / 0.8944 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006047, allocations: 7.938 kB / 0.8944 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.006055, allocations: 11.98 kB / 0.8944 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006056, allocations: 7.938 kB / 0.8944 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006057, allocations: 0 / 0.8944 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.006187, allocations: 215.9 kB / 0.8947 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.006199, allocations: 11.89 kB / 0.8947 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.006209, allocations: 0 / 0.8947 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.006258, allocations: 4 kB / 0.8947 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.00631, allocations: 31.95 kB / 0.8947 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.006315, allocations: 0 / 0.8947 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.006355, allocations: 135.2 kB / 0.8948 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006355, allocations: 0 / 0.8948 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000145/0.0065, allocations: 20 kB / 0.8948 GB, free: 4.281 MB / 0.8542 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 9.423e-05/0.006594, allocations: 101.2 kB / 0.8949 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.902e-05/0.006683, allocations: 35.66 kB / 0.895 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006684, allocations: 0 / 0.895 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.006728, allocations: 39.66 kB / 0.895 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.006909, allocations: 18.27 kB / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.007184, allocations: 170.8 kB / 0.8952 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.007217, allocations: 59.34 kB / 0.8953 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.007258, allocations: 15.98 kB / 0.8953 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.007337, allocations: 86.19 kB / 0.8953 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/0.007337, allocations: 0 / 0.8953 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of Templates: time 0.003384/0.01072, allocations: 1.843 MB / 0.8971 GB, free: 1.875 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] 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","",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.266955452039838]