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.00128/0.00128, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001455/0.001455, allocations: 169 kB / 24.27 MB, free: 280 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 0.958/0.958, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.954/1.954, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.916e-06/2.916e-06, allocations: 0 / 0.7871 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.363e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002043/0.002076, allocations: 0.6348 MB / 0.7877 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003221, allocations: 0.8591 MB / 0.7885 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.003262, allocations: 0 / 0.7885 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.003294, allocations: 4.5 kB / 0.7885 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.003369, allocations: 1 kB / 0.7885 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.003551, allocations: 27.84 kB / 0.7886 GB, free: 10.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.00364, allocations: 27.92 kB / 0.7886 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003751, allocations: 1.375 kB / 0.7886 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.003852, allocations: 15.98 kB / 0.7886 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.003909, allocations: 15.92 kB / 0.7886 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.003935, allocations: 2.5 kB / 0.7886 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.003946, allocations: 4 kB / 0.7886 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.003967, allocations: 7.984 kB / 0.7886 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.003994, allocations: 4 kB / 0.7886 GB, free: 10.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.004095, allocations: 19.97 kB / 0.7887 GB, free: 10.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.004099, allocations: 0 / 0.7887 GB, free: 10.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.213e-06/0.0041, allocations: 0 / 0.7887 GB, free: 10.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.004105, allocations: 1.719 kB / 0.7887 GB, free: 10.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004606/0.004566, allocations: 356.3 kB / 0.789 GB, free: 9.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.004615, allocations: 8.031 kB / 0.789 GB, free: 9.719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.004667, allocations: 8.891 kB / 0.789 GB, free: 9.711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.004781, allocations: 113.1 kB / 0.7891 GB, free: 9.574 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.004807, allocations: 4.375 kB / 0.7891 GB, free: 9.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.004818, allocations: 0.9688 kB / 0.7891 GB, free: 9.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.004988, allocations: 60 kB / 0.7892 GB, free: 9.504 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004995, allocations: 192 / 0.7892 GB, free: 9.504 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.005005, allocations: 384 / 0.7892 GB, free: 9.504 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.005014, allocations: 1.812 kB / 0.7892 GB, free: 9.504 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.005057, allocations: 11.92 kB / 0.7892 GB, free: 9.492 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.005415, allocations: 251.8 kB / 0.7894 GB, free: 9.211 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.535e-05/0.00549, allocations: 40 kB / 0.7895 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.005519, allocations: 11.75 kB / 0.7895 GB, free: 9.145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.005533, allocations: 0.75 kB / 0.7895 GB, free: 9.145 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.005561, allocations: 37.39 kB / 0.7895 GB, free: 9.098 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.005563, allocations: 6.562 kB / 0.7895 GB, free: 9.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001948/0.005757, allocations: 45.56 kB / 0.7896 GB, free: 9.043 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.005797, allocations: 55.41 kB / 0.7896 GB, free: 8.977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.005894, allocations: 161.9 kB / 0.7898 GB, free: 8.801 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.005906, allocations: 25.7 kB / 0.7898 GB, free: 8.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.005965, allocations: 135.3 kB / 0.7899 GB, free: 8.633 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.005986, allocations: 4 kB / 0.7899 GB, free: 8.629 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.006023, allocations: 20.09 kB / 0.79 GB, free: 8.602 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.00617, allocations: 492.1 kB / 0.7904 GB, free: 8.109 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.006196, allocations: 8.516 kB / 0.7904 GB, free: 8.102 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.006213, allocations: 5.656 kB / 0.7904 GB, free: 8.098 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.006261, allocations: 15.69 kB / 0.7905 GB, free: 8.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006263, allocations: 0 / 0.7905 GB, free: 8.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.595e-05/0.006359, allocations: 50.08 kB / 0.7905 GB, free: 8.023 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.006376, allocations: 8.594 kB / 0.7905 GB, free: 8.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.006385, allocations: 4.719 kB / 0.7905 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.006401, allocations: 0 / 0.7905 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.006502, allocations: 5.156 kB / 0.7905 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.006509, allocations: 0 / 0.7905 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.00654, allocations: 7.984 kB / 0.7905 GB, free: 8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.006547, allocations: 1.375 kB / 0.7905 GB, free: 8 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: 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 9.402e-05/0.006641, allocations: 156.6 kB / 0.7907 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.006664, allocations: 192 / 0.7907 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.006696, allocations: 17 kB / 0.7907 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.0067, allocations: 3.984 kB / 0.7907 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.006706, allocations: 4 kB / 0.7907 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006709, allocations: 0 / 0.7907 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.006846, allocations: 112.6 kB / 0.7908 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.006849, allocations: 4.906 kB / 0.7908 GB, free: 7.664 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.006896, allocations: 4 kB / 0.7908 GB, free: 7.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.0069, allocations: 4.766 kB / 0.7908 GB, free: 7.656 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.00691, allocations: 0 / 0.7908 GB, free: 7.656 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.006913, allocations: 5.125 kB / 0.7908 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.006916, allocations: 4 kB / 0.7908 GB, free: 7.648 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.007079, allocations: 187.9 kB / 0.791 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.007088, allocations: 8.797 kB / 0.791 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.007101, allocations: 0 / 0.791 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.007163, allocations: 13.31 kB / 0.791 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.007221, allocations: 3.984 kB / 0.791 GB, free: 7.422 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.007226, allocations: 0 / 0.791 GB, free: 7.422 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.007271, allocations: 128.3 kB / 0.7912 GB, free: 7.297 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007271, allocations: 0 / 0.7912 GB, free: 7.297 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002364/0.007508, allocations: 4 kB / 0.7912 GB, free: 7.293 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: 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 0.0001172/0.007625, allocations: 101.1 kB / 0.7913 GB, free: 7.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.007742, allocations: 19.62 kB / 0.7913 GB, free: 7.164 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007744, allocations: 0 / 0.7913 GB, free: 7.164 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.007774, allocations: 18.12 kB / 0.7913 GB, free: 7.145 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.008067, allocations: 11.98 kB / 0.7913 GB, free: 7.133 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.008434, allocations: 114.4 kB / 0.7914 GB, free: 6.992 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.008484, allocations: 51.36 kB / 0.7915 GB, free: 6.922 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.008513, allocations: 6.469 kB / 0.7915 GB, free: 6.918 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.008551, allocations: 12.48 kB / 0.7915 GB, free: 6.906 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/0.008552, allocations: 0 / 0.7915 GB, free: 6.906 MB / 0.698 GB Notification: Performance of Templates: time 0.003135/0.01169, allocations: 0.6665 MB / 0.7921 GB, free: 6.27 MB / 0.698 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.353096753824502]