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.001044/0.001044, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00147/0.00147, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9851/0.9851, 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.828/1.828, allocations: 359 MB / 0.6052 GB, free: 11.05 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 3.096e-06/3.096e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.308e-05, allocations: 5.422 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00155/0.001583, allocations: 0.7699 MB / 0.7879 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009357/0.002519, allocations: 0.9189 MB / 0.7888 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.002564, allocations: 4 kB / 0.7888 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.002599, allocations: 7.875 kB / 0.7888 GB, free: 9.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.106e-05/0.00268, allocations: 7.875 kB / 0.7888 GB, free: 9.676 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.002847, allocations: 40.48 kB / 0.7888 GB, free: 9.637 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.00295, allocations: 92.66 kB / 0.7889 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.003056, allocations: 15.98 kB / 0.7889 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.003151, allocations: 53.02 kB / 0.789 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.003218, allocations: 39.88 kB / 0.789 GB, free: 9.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.003243, allocations: 8 kB / 0.789 GB, free: 9.434 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.003255, allocations: 9.406 kB / 0.789 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.003279, allocations: 19.92 kB / 0.789 GB, free: 9.406 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.003313, allocations: 27.89 kB / 0.7891 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.003431, allocations: 63.8 kB / 0.7891 GB, free: 9.316 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003434, allocations: 1.062 kB / 0.7891 GB, free: 9.316 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003435, allocations: 0 / 0.7891 GB, free: 9.316 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.00344, allocations: 0 / 0.7891 GB, free: 9.316 MB / 0.698 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.000423/0.003863, allocations: 413.5 kB / 0.7895 GB, free: 8.879 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.003901, allocations: 8.031 kB / 0.7895 GB, free: 8.871 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.003945, allocations: 12.88 kB / 0.7895 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.398e-05/0.004039, allocations: 124.5 kB / 0.7897 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.00406, allocations: 5.031 kB / 0.7897 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.004076, allocations: 9.344 kB / 0.7897 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.004254, allocations: 86.89 kB / 0.7898 GB, free: 8.605 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.004263, allocations: 5.469 kB / 0.7898 GB, free: 8.602 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.004275, allocations: 4 kB / 0.7898 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.004284, allocations: 7.984 kB / 0.7898 GB, free: 8.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.00436, allocations: 37.75 kB / 0.7898 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.004768, allocations: 315.6 kB / 0.7901 GB, free: 8.211 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.005064, allocations: 85.48 kB / 0.7902 GB, free: 8.117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.00511, allocations: 23.67 kB / 0.7902 GB, free: 8.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.005135, allocations: 4 kB / 0.7902 GB, free: 8.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005157, allocations: 33.39 kB / 0.7903 GB, free: 8.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.005158, allocations: 0 / 0.7903 GB, free: 8.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000227/0.005385, allocations: 86.23 kB / 0.7903 GB, free: 7.953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.005416, allocations: 61 kB / 0.7904 GB, free: 7.883 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.005501, allocations: 181.8 kB / 0.7906 GB, free: 7.688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.005512, allocations: 25.7 kB / 0.7906 GB, free: 7.656 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.005566, allocations: 150.8 kB / 0.7907 GB, free: 7.504 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.005588, allocations: 19.8 kB / 0.7908 GB, free: 7.484 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.005627, allocations: 32.73 kB / 0.7908 GB, free: 7.445 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.005732, allocations: 0.4883 MB / 0.7913 GB, free: 6.945 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.005768, allocations: 15.98 kB / 0.7913 GB, free: 6.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.005799, allocations: 13.73 kB / 0.7913 GB, free: 6.918 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.788e-05/0.005867, allocations: 32.16 kB / 0.7913 GB, free: 6.883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005868, allocations: 0 / 0.7913 GB, free: 6.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/0.005985, allocations: 90.25 kB / 0.7914 GB, free: 6.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.005998, allocations: 4 kB / 0.7914 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006003, allocations: 0.8125 kB / 0.7914 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.006017, allocations: 0 / 0.7914 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.006102, allocations: 21.92 kB / 0.7914 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.006107, allocations: 4 kB / 0.7914 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.006145, allocations: 7.984 kB / 0.7914 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.006152, allocations: 0 / 0.7914 GB, free: 6.754 MB / 0.698 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.959e-05/0.006222, allocations: 166.8 kB / 0.7916 GB, free: 6.582 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.006246, allocations: 11.94 kB / 0.7916 GB, free: 6.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.006403, allocations: 86.03 kB / 0.7917 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006405, allocations: 0 / 0.7917 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.006408, allocations: 0.7188 kB / 0.7917 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.006411, allocations: 0 / 0.7917 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.006527, allocations: 141.1 kB / 0.7918 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006529, allocations: 0 / 0.7918 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.00659, allocations: 21.64 kB / 0.7919 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.006593, allocations: 3.984 kB / 0.7919 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.006601, allocations: 0 / 0.7919 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.006604, allocations: 4 kB / 0.7919 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006605, allocations: 0.5625 kB / 0.7919 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.006756, allocations: 229 kB / 0.7921 GB, free: 6.039 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.006769, allocations: 15.89 kB / 0.7921 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.006782, allocations: 0 / 0.7921 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.006834, allocations: 13.14 kB / 0.7921 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.006897, allocations: 27.91 kB / 0.7921 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006903, allocations: 0 / 0.7921 GB, free: 5.984 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.006946, allocations: 140.1 kB / 0.7923 GB, free: 5.848 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006946, allocations: 0 / 0.7923 GB, free: 5.848 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001508/0.007097, allocations: 12 kB / 0.7923 GB, free: 5.836 MB / 0.698 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 8.771e-05/0.007184, allocations: 97.38 kB / 0.7924 GB, free: 5.734 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.007318, allocations: 47.66 kB / 0.7924 GB, free: 5.684 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00732, allocations: 0 / 0.7924 GB, free: 5.684 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-05/0.007373, allocations: 40.23 kB / 0.7925 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.007581, allocations: 16.77 kB / 0.7925 GB, free: 5.625 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.007926, allocations: 176.4 kB / 0.7926 GB, free: 5.422 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.008119, allocations: 55.36 kB / 0.7927 GB, free: 5.348 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.008161, allocations: 16.33 kB / 0.7927 GB, free: 5.336 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.008225, allocations: 24.48 kB / 0.7927 GB, free: 5.312 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/0.008226, allocations: 0 / 0.7927 GB, free: 5.312 MB / 0.698 GB Notification: Performance of Templates: time 0.00354/0.01177, allocations: 1.716 MB / 0.7944 GB, free: 3.645 MB / 0.698 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: 5.158415310550481]