Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.0009558/0.0009558, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009386/0.0009386, allocations: 166 kB / 24.87 MB, free: 9.285 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.9455/0.9455, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.83/1.83, allocations: 359 MB / 0.6063 GB, free: 10.9 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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0.6562 kB / 0.7883 GB, free: 12.24 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.249e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001758/0.00178, allocations: 0.6444 MB / 0.7889 GB, free: 11.61 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002906, allocations: 0.86 MB / 0.7897 GB, free: 10.74 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.002949, allocations: 0 / 0.7897 GB, free: 10.74 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.002983, allocations: 4.969 kB / 0.7897 GB, free: 10.73 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.003063, allocations: 7.922 kB / 0.7898 GB, free: 10.73 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.003232, allocations: 15.92 kB / 0.7898 GB, free: 10.71 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.003309, allocations: 33.17 kB / 0.7898 GB, free: 10.68 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.003415, allocations: 3.984 kB / 0.7898 GB, free: 10.68 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.003508, allocations: 16 kB / 0.7898 GB, free: 10.66 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.003559, allocations: 9.203 kB / 0.7898 GB, free: 10.65 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.00358, allocations: 0 / 0.7898 GB, free: 10.65 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.00359, allocations: 4 kB / 0.7898 GB, free: 10.65 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.003612, allocations: 11.92 kB / 0.7898 GB, free: 10.64 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.003634, allocations: 13.73 kB / 0.7899 GB, free: 10.62 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.003721, allocations: 11.98 kB / 0.7899 GB, free: 10.61 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.003723, allocations: 0 / 0.7899 GB, free: 10.61 MB / 0.7449 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003724, allocations: 0 / 0.7899 GB, free: 10.61 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003728, allocations: 0.8438 kB / 0.7899 GB, free: 10.61 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003906/0.004119, allocations: 356.7 kB / 0.7902 GB, free: 10.23 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.00416, allocations: 12.67 kB / 0.7902 GB, free: 10.21 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.004194, allocations: 12.89 kB / 0.7902 GB, free: 10.2 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.616e-05/0.004281, allocations: 109.9 kB / 0.7903 GB, free: 10.07 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.0043, allocations: 4.375 kB / 0.7903 GB, free: 10.07 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.004308, allocations: 384 / 0.7903 GB, free: 10.07 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.004436, allocations: 59.94 kB / 0.7904 GB, free: 10 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004444, allocations: 192 / 0.7904 GB, free: 10 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004453, allocations: 4.375 kB / 0.7904 GB, free: 9.996 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004459, allocations: 1.75 kB / 0.7904 GB, free: 9.996 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.00449, allocations: 7.938 kB / 0.7904 GB, free: 9.988 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.004987, allocations: 228.5 kB / 0.7906 GB, free: 9.738 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 6.406e-05/0.005051, allocations: 48.52 kB / 0.7907 GB, free: 9.68 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.005069, allocations: 7.688 kB / 0.7907 GB, free: 9.668 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.005082, allocations: 4.062 kB / 0.7907 GB, free: 9.664 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.005104, allocations: 36.05 kB / 0.7907 GB, free: 9.621 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005105, allocations: 0 / 0.7907 GB, free: 9.621 MB / 0.7449 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.005249, allocations: 53.56 kB / 0.7908 GB, free: 9.562 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.005281, allocations: 55.41 kB / 0.7908 GB, free: 9.496 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.005356, allocations: 157.9 kB / 0.791 GB, free: 9.324 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.005368, allocations: 25.7 kB / 0.791 GB, free: 9.293 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.00541, allocations: 127.6 kB / 0.7911 GB, free: 9.164 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.005429, allocations: 7.938 kB / 0.7911 GB, free: 9.156 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.005465, allocations: 28.97 kB / 0.7912 GB, free: 9.121 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.005592, allocations: 496.1 kB / 0.7916 GB, free: 8.625 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.005605, allocations: 4 kB / 0.7916 GB, free: 8.621 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.005616, allocations: 0 / 0.7916 GB, free: 8.621 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.00565, allocations: 17.44 kB / 0.7917 GB, free: 8.602 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.005651, allocations: 0 / 0.7917 GB, free: 8.602 MB / 0.7449 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003334/0.005985, allocations: 37.69 kB / 0.7917 GB, free: 8.559 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.005998, allocations: 5.062 kB / 0.7917 GB, free: 8.555 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.006003, allocations: 4 kB / 0.7917 GB, free: 8.551 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.006014, allocations: 3.938 kB / 0.7917 GB, free: 8.547 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.006086, allocations: 9.531 kB / 0.7917 GB, free: 8.539 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.006089, allocations: 0 / 0.7917 GB, free: 8.539 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.006119, allocations: 7.984 kB / 0.7917 GB, free: 8.531 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.006124, allocations: 0 / 0.7917 GB, free: 8.531 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.905e-05/0.006203, allocations: 158.6 kB / 0.7919 GB, free: 8.367 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.006228, allocations: 4 kB / 0.7919 GB, free: 8.363 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.00625, allocations: 3.312 kB / 0.7919 GB, free: 8.359 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.006253, allocations: 3.938 kB / 0.7919 GB, free: 8.355 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.006255, allocations: 0 / 0.7919 GB, free: 8.355 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006258, allocations: 0.5938 kB / 0.7919 GB, free: 8.355 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.006392, allocations: 105.8 kB / 0.792 GB, free: 8.227 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006394, allocations: 0 / 0.792 GB, free: 8.227 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.006434, allocations: 8.719 kB / 0.792 GB, free: 8.219 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.006438, allocations: 4.516 kB / 0.792 GB, free: 8.215 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.006444, allocations: 0 / 0.792 GB, free: 8.215 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006445, allocations: 5.406 kB / 0.792 GB, free: 8.211 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.006447, allocations: 4 kB / 0.792 GB, free: 8.207 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.006578, allocations: 191.8 kB / 0.7922 GB, free: 8 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.006586, allocations: 4.484 kB / 0.7922 GB, free: 7.996 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.006596, allocations: 1.375 kB / 0.7922 GB, free: 7.996 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.006653, allocations: 4 kB / 0.7922 GB, free: 7.992 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.006697, allocations: 11.98 kB / 0.7922 GB, free: 7.98 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.006701, allocations: 3.938 kB / 0.7922 GB, free: 7.977 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.006743, allocations: 120.3 kB / 0.7923 GB, free: 7.859 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.006743, allocations: 4 kB / 0.7923 GB, free: 7.855 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002411/0.006984, allocations: 0 / 0.7923 GB, free: 7.855 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.177e-05/0.007066, allocations: 100.6 kB / 0.7924 GB, free: 7.75 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 7.646e-05/0.007142, allocations: 20.59 kB / 0.7924 GB, free: 7.727 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007144, allocations: 0 / 0.7924 GB, free: 7.727 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.007174, allocations: 20.47 kB / 0.7925 GB, free: 7.703 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.00743, allocations: 7.984 kB / 0.7925 GB, free: 7.695 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.007669, allocations: 111.7 kB / 0.7926 GB, free: 7.559 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.786e-05/0.007706, allocations: 55.89 kB / 0.7926 GB, free: 7.484 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.007734, allocations: 6.438 kB / 0.7926 GB, free: 7.48 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.007792, allocations: 74.19 kB / 0.7927 GB, free: 7.406 MB / 0.7449 GB Notification: Performance of SimCode: time 4.31e-07/0.007792, allocations: 0 / 0.7927 GB, free: 7.406 MB / 0.7449 GB Notification: Performance of Templates: time 0.002546/0.01034, allocations: 0.7224 MB / 0.7934 GB, free: 6.719 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.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.998802491929382]