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.001381/0.001381, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001319/0.001319, allocations: 161 kB / 23.82 MB, free: 0.75 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.9347/0.9347, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.755/1.755, allocations: 359 MB / 0.6052 GB, free: 10.97 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.433e-06/1.433e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.647e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001097/0.001113, allocations: 0.6264 MB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.001883, allocations: 0.8671 MB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.001921, allocations: 1.062 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.00195, allocations: 3.938 kB / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.002009, allocations: 0 / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.00216, allocations: 21.47 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.727e-05/0.002227, allocations: 23.94 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.002317, allocations: 7.984 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.002396, allocations: 23.86 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.002441, allocations: 9.344 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.002463, allocations: 0 / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.002471, allocations: 4 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.002488, allocations: 7.969 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.002509, allocations: 9.188 kB / 0.7886 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.758e-05/0.002587, allocations: 15.92 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.002589, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00259, allocations: 0.8438 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.002594, allocations: 0 / 0.7887 GB, free: 10.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003322/0.002926, allocations: 357.6 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.002963, allocations: 8.031 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.003003, allocations: 11.36 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.00309, allocations: 112.6 kB / 0.7891 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.00311, allocations: 384 / 0.7891 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.003119, allocations: 4.375 kB / 0.7891 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.003245, allocations: 62.86 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003251, allocations: 192 / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.00326, allocations: 2.125 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.003267, allocations: 4.125 kB / 0.7892 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.003299, allocations: 8 kB / 0.7892 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.003563, allocations: 247.8 kB / 0.7894 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/0.003619, allocations: 43.64 kB / 0.7895 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.003644, allocations: 16.41 kB / 0.7895 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.003656, allocations: 0 / 0.7895 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.003678, allocations: 37.92 kB / 0.7895 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.003679, allocations: 1.656 kB / 0.7895 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.003828, allocations: 53.58 kB / 0.7896 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.003856, allocations: 51.41 kB / 0.7896 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.003925, allocations: 161.9 kB / 0.7898 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.003935, allocations: 26.3 kB / 0.7898 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.003976, allocations: 127.7 kB / 0.7899 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.003993, allocations: 3.984 kB / 0.7899 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.004019, allocations: 24.53 kB / 0.79 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.00413, allocations: 492.1 kB / 0.7904 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.004145, allocations: 7.938 kB / 0.7904 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-06/0.004154, allocations: 1.375 kB / 0.7904 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/0.004186, allocations: 27.61 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004188, allocations: 1.75 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.888e-05/0.004237, allocations: 37.66 kB / 0.7905 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.004252, allocations: 11.94 kB / 0.7905 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004257, allocations: 0 / 0.7905 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.004269, allocations: 1.625 kB / 0.7905 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.004337, allocations: 7.984 kB / 0.7905 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004342, allocations: 3.938 kB / 0.7905 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.00436, allocations: 4 kB / 0.7905 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.004364, allocations: 2.719 kB / 0.7905 GB, free: 8.742 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: 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 6.491e-05/0.004429, allocations: 160.6 kB / 0.7907 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.004441, allocations: 4 kB / 0.7907 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.004465, allocations: 7.25 kB / 0.7907 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.004467, allocations: 0 / 0.7907 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.004471, allocations: 0 / 0.7907 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004473, allocations: 0 / 0.7907 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.339e-05/0.004566, allocations: 121.1 kB / 0.7908 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004568, allocations: 0.5312 kB / 0.7908 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.004588, allocations: 4 kB / 0.7908 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.00459, allocations: 1.938 kB / 0.7908 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.004597, allocations: 0 / 0.7908 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.004598, allocations: 3.938 kB / 0.7908 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.004599, allocations: 0 / 0.7908 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.004705, allocations: 194.5 kB / 0.791 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.004714, allocations: 7.953 kB / 0.791 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.004724, allocations: 3.984 kB / 0.791 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.004755, allocations: 3.938 kB / 0.791 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.004802, allocations: 11.98 kB / 0.791 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.004804, allocations: 0 / 0.791 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.004838, allocations: 127.4 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004838, allocations: 0.5312 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001355/0.004974, allocations: 4.844 kB / 0.7912 GB, free: 8.039 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: 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 6.936e-05/0.005043, allocations: 96.09 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.077e-05/0.005124, allocations: 24.95 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.005125, allocations: 0 / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.005146, allocations: 15.62 kB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.005317, allocations: 8.781 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.005548, allocations: 119.5 kB / 0.7914 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.005588, allocations: 55.36 kB / 0.7915 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.005607, allocations: 1.312 kB / 0.7915 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.005638, allocations: 19.44 kB / 0.7915 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.005638, allocations: 0 / 0.7915 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of Templates: time 0.002203/0.007841, allocations: 0.692 MB / 0.7922 GB, free: 6.98 MB / 0.7448 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.768063650932163]