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.001093/0.001093, 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.001245/0.001245, 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 1.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.888/1.888, allocations: 359 MB / 0.6052 GB, free: 10.99 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 2.364e-06/2.364e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.168e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00118/0.001201, allocations: 0.6298 MB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.002028, allocations: 0.8637 MB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.002058, allocations: 1.156 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.002086, allocations: 11.86 kB / 0.7885 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.897e-05/0.002145, allocations: 4 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.002298, allocations: 16.44 kB / 0.7886 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.577e-05/0.002364, allocations: 24.64 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.002459, allocations: 7.984 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.002532, allocations: 16.89 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.002577, allocations: 7.984 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.002599, allocations: 4.656 kB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.002607, allocations: 0 / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.002623, allocations: 12.75 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.002645, allocations: 7.984 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.608e-05/0.002721, allocations: 17.59 kB / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.002723, allocations: 0 / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002724, allocations: 0 / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002727, allocations: 0 / 0.7887 GB, free: 10.91 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.0003383/0.003066, allocations: 357.9 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.003104, allocations: 12.03 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.003141, allocations: 8.891 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.003219, allocations: 118.1 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.003241, allocations: 384 / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.003258, allocations: 4.375 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.003416, allocations: 58.94 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.003421, allocations: 7.594 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.00343, allocations: 384 / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.003436, allocations: 384 / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.003469, allocations: 11.92 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.003749, allocations: 247.8 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.985e-05/0.003808, allocations: 43 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.00383, allocations: 11.67 kB / 0.7895 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.003846, allocations: 4.062 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.003865, allocations: 33.98 kB / 0.7895 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.003866, allocations: 0 / 0.7895 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.004013, allocations: 55.78 kB / 0.7896 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.004042, allocations: 51.41 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.00411, allocations: 157.9 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.004122, allocations: 25.7 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.004171, allocations: 134.9 kB / 0.7899 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.004189, allocations: 5.109 kB / 0.7899 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.00422, allocations: 23.36 kB / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.004333, allocations: 496.1 kB / 0.7904 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.004352, allocations: 0.75 kB / 0.7904 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.004365, allocations: 5.188 kB / 0.7904 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.004399, allocations: 15.67 kB / 0.7905 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.004402, allocations: 5.5 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.58e-05/0.004457, allocations: 41.64 kB / 0.7905 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.004469, allocations: 4 kB / 0.7905 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.004474, allocations: 3.938 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.004488, allocations: 4.562 kB / 0.7905 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.004558, allocations: 9.359 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.004564, allocations: 0 / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.004582, allocations: 0 / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.004587, allocations: 4 kB / 0.7905 GB, free: 8.797 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.433e-05/0.004651, allocations: 155.2 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.004669, allocations: 8 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.004693, allocations: 11.23 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.004695, allocations: 0 / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.004698, allocations: 0 / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.0047, allocations: 0 / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.882e-05/0.004789, allocations: 117.2 kB / 0.7908 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.004791, allocations: 3.984 kB / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.004811, allocations: 8.719 kB / 0.7908 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.004813, allocations: 1.219 kB / 0.7908 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.004819, allocations: 0 / 0.7908 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.00482, allocations: 3.938 kB / 0.7908 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004821, allocations: 0 / 0.7908 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.998e-05/0.004921, allocations: 197.6 kB / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.004926, allocations: 3.953 kB / 0.791 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.004935, allocations: 4 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.004968, allocations: 8.797 kB / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.005011, allocations: 8 kB / 0.791 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.005013, allocations: 0 / 0.791 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.005046, allocations: 127.8 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005046, allocations: 0.5938 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001408/0.005187, allocations: 4 kB / 0.7912 GB, free: 8.09 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.734e-05/0.005255, allocations: 96.38 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.356e-05/0.005338, allocations: 24.61 kB / 0.7913 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.005339, allocations: 4 kB / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.00536, allocations: 12.53 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.005545, allocations: 6.219 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.005837, allocations: 114.3 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.005878, allocations: 59.34 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.005898, allocations: 2.781 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.005938, allocations: 12.5 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.005939, allocations: 0 / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.002175/0.008114, allocations: 0.6628 MB / 0.7921 GB, free: 7.074 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: 5.248108632862568]