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.001045/0.001045, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001159/0.001159, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9358/0.9358, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.74/1.74, allocations: 359 MB / 0.6052 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] 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 2.054e-06/2.054e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.823e-05, allocations: 3.406 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001551/0.001579, allocations: 0.7864 MB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.002633, allocations: 0.9098 MB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.002683, allocations: 5.25 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.002721, allocations: 7.922 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.002801, allocations: 11.81 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.002983, allocations: 45.28 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003124, allocations: 83.83 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.003232, allocations: 19.92 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.003331, allocations: 52.52 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.003403, allocations: 39.88 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.003429, allocations: 9 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.003441, allocations: 8 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.003463, allocations: 21.89 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.003494, allocations: 23.91 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.003606, allocations: 71.72 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003609, allocations: 0 / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00361, allocations: 0 / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.003615, allocations: 0 / 0.7891 GB, free: 10.36 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.0004342/0.00405, allocations: 405 kB / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.004091, allocations: 8.906 kB / 0.7895 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.004139, allocations: 12.89 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004242, allocations: 129.6 kB / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.004267, allocations: 8.375 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.004281, allocations: 4.375 kB / 0.7897 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.004542, allocations: 95.7 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.004553, allocations: 0 / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.004567, allocations: 5.562 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.004576, allocations: 4 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.004643, allocations: 19.98 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.005072, allocations: 325.4 kB / 0.7901 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.005375, allocations: 79.14 kB / 0.7902 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.005415, allocations: 18.12 kB / 0.7902 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.005436, allocations: 11.98 kB / 0.7902 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.005458, allocations: 41.27 kB / 0.7903 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.00546, allocations: 0 / 0.7903 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002121/0.005672, allocations: 85.61 kB / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.005701, allocations: 56.03 kB / 0.7904 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.005785, allocations: 181.9 kB / 0.7906 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.005796, allocations: 27.36 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.005843, allocations: 138.9 kB / 0.7907 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.005869, allocations: 23.78 kB / 0.7908 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.005906, allocations: 27.38 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.006008, allocations: 0.4939 MB / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.006043, allocations: 11.98 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.006071, allocations: 12 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.791e-05/0.006139, allocations: 44.75 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00614, allocations: 4 kB / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001096/0.00625, allocations: 74.45 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.006262, allocations: 4 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006266, allocations: 1.562 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.006279, allocations: 0 / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.006361, allocations: 27.98 kB / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.006366, allocations: 0 / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.006541, allocations: 10.2 kB / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.006547, allocations: 3.938 kB / 0.7914 GB, free: 7.809 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 7.134e-05/0.006619, allocations: 164.5 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.00664, allocations: 7.953 kB / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.00679, allocations: 87.3 kB / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006792, allocations: 0 / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.006795, allocations: 0.5312 kB / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006799, allocations: 0 / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.006913, allocations: 150.1 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.006914, allocations: 3.938 kB / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.006976, allocations: 19.92 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006979, allocations: 0 / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.00699, allocations: 8.516 kB / 0.7919 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.006991, allocations: 5.312 kB / 0.7919 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006992, allocations: 0 / 0.7919 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.007137, allocations: 219.8 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.00715, allocations: 13.11 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.007163, allocations: 0 / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.007214, allocations: 8 kB / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.007278, allocations: 29.33 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.007284, allocations: 3.984 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.007327, allocations: 139.2 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007327, allocations: 0 / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001518/0.007479, allocations: 12.91 kB / 0.7923 GB, free: 6.895 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 9.67e-05/0.007576, allocations: 100 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.007713, allocations: 48.94 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007714, allocations: 0 / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/0.007766, allocations: 39.61 kB / 0.7925 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.00797, allocations: 18.73 kB / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.008298, allocations: 176.3 kB / 0.7926 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.391e-05/0.008331, allocations: 59.34 kB / 0.7927 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.293e-05/0.008374, allocations: 16.33 kB / 0.7927 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.008427, allocations: 20.5 kB / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.008428, allocations: 0 / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of Templates: time 0.003505/0.01193, allocations: 1.82 MB / 0.7945 GB, free: 4.594 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.967207321431488]