Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001354/0.001354, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001299/0.001299, allocations: 165 kB / 24.16 MB, free: 328 kB / 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.03/1.03, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.984/1.984, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.088e-05, allocations: 6.141 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001734/0.001765, allocations: 0.7765 MB / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008703/0.002635, allocations: 0.9151 MB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.002675, allocations: 1.031 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.002703, allocations: 15.86 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.002777, allocations: 7.906 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.002909, allocations: 39.89 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.003007, allocations: 90.11 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.003085, allocations: 16.58 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.003186, allocations: 56.97 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.00325, allocations: 38.45 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.003272, allocations: 8.688 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.003287, allocations: 8 kB / 0.762 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.003316, allocations: 22.42 kB / 0.762 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.003343, allocations: 23.91 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.003448, allocations: 67.78 kB / 0.7621 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.003451, allocations: 0 / 0.7621 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.482e-06/0.003452, allocations: 0 / 0.7621 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003456, allocations: 1.062 kB / 0.7621 GB, free: 4.598 MB / 0.7136 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.000337/0.003793, allocations: 280.7 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.003822, allocations: 12.62 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.003848, allocations: 8.922 kB / 0.7624 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.003922, allocations: 118.5 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.003939, allocations: 8.906 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.00395, allocations: 4.375 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.004085, allocations: 91.95 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.004091, allocations: 4.969 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.0041, allocations: 4 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.004103, allocations: 0 / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.004147, allocations: 27.45 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.004402, allocations: 201.9 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.004607, allocations: 62.47 kB / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.004633, allocations: 22 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.004647, allocations: 7.938 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.004664, allocations: 31.31 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.004665, allocations: 4 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001269/0.004792, allocations: 62.3 kB / 0.763 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.004818, allocations: 52.16 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.004878, allocations: 126.6 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.004891, allocations: 35.27 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.004919, allocations: 84.12 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.004939, allocations: 23.78 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.004971, allocations: 25.7 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.005051, allocations: 319.4 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.00507, allocations: 9.031 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.005089, allocations: 11.97 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.005135, allocations: 33.98 kB / 0.7637 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.005137, allocations: 3.938 kB / 0.7637 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.8e-05/0.005205, allocations: 55.25 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.005215, allocations: 8 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005219, allocations: 0 / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.005227, allocations: 0 / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.005301, allocations: 26.66 kB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.005303, allocations: 0.5469 kB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.005335, allocations: 4 kB / 0.7638 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.005342, allocations: 7.984 kB / 0.7638 GB, free: 2.719 MB / 0.7136 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 5.693e-05/0.005399, allocations: 113.8 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.005414, allocations: 4 kB / 0.7639 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.078e-05/0.005505, allocations: 76.16 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.005508, allocations: 3.984 kB / 0.764 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005509, allocations: 4 kB / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005512, allocations: 3.984 kB / 0.764 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.68e-05/0.005609, allocations: 94.7 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.005611, allocations: 4 kB / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.005659, allocations: 19.92 kB / 0.7641 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00566, allocations: 4.656 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.005667, allocations: 6.391 kB / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005668, allocations: 0 / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.005669, allocations: 4 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.005762, allocations: 155.5 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.005771, allocations: 11.83 kB / 0.7642 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.005781, allocations: 0 / 0.7642 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/0.005825, allocations: 12.86 kB / 0.7643 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.005872, allocations: 19.97 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.005876, allocations: 0.5 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.919e-05/0.005895, allocations: 24.78 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005895, allocations: 2.844 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000125/0.00602, allocations: 12 kB / 0.7643 GB, free: 2.109 MB / 0.7136 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 7.208e-05/0.006092, allocations: 76.42 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.006168, allocations: 40.83 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.00617, allocations: 0 / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.006208, allocations: 35.2 kB / 0.7645 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.006331, allocations: 12.77 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.006569, allocations: 170.4 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.006601, allocations: 59.36 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.00664, allocations: 15.33 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.00671, allocations: 67.36 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.006711, allocations: 0 / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of Templates: time 0.00288/0.009591, allocations: 1.699 MB / 0.7664 GB, free: 15.97 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.194675817154348]