Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001191/0.001191, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001711/0.002902, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00128/0.00128, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002966, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9813/0.9813, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1137/1.095, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.88/1.88, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.524/2.404, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] 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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.621e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001321/0.001347, allocations: 0.6703 MB / 0.73 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007182/0.002065, allocations: 0.8757 MB / 0.7308 GB, free: 3.031 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.00209, allocations: 5.781 kB / 0.7308 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.002109, allocations: 0 / 0.7308 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.738e-05/0.002136, allocations: 5.578 kB / 0.7308 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.998e-05/0.002196, allocations: 15.92 kB / 0.7308 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.002263, allocations: 28.25 kB / 0.7309 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.002338, allocations: 8.484 kB / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.002409, allocations: 23.47 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.002463, allocations: 12.86 kB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.002482, allocations: 4 kB / 0.7309 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-06/0.002489, allocations: 0 / 0.7309 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.002503, allocations: 6.219 kB / 0.7309 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.002522, allocations: 4.766 kB / 0.7309 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.943e-05/0.002591, allocations: 16.17 kB / 0.7309 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.002607, allocations: 0 / 0.7309 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002608, allocations: 0 / 0.7309 GB, free: 2.922 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.002624, allocations: 0 / 0.7309 GB, free: 2.922 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.0003394/0.002963, allocations: 237.6 kB / 0.7312 GB, free: 2.664 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.002994, allocations: 8.031 kB / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.00302, allocations: 4.938 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.057e-05/0.003101, allocations: 115.5 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.003119, allocations: 384 / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.003127, allocations: 4.359 kB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.003236, allocations: 52.16 kB / 0.7313 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.003243, allocations: 0.875 kB / 0.7313 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.003253, allocations: 4.375 kB / 0.7313 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.003258, allocations: 1.219 kB / 0.7313 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.003285, allocations: 15.86 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.003481, allocations: 144.8 kB / 0.7315 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.003526, allocations: 19.7 kB / 0.7315 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.003541, allocations: 8.922 kB / 0.7315 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.003552, allocations: 0.7188 kB / 0.7315 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.003572, allocations: 30.56 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.003572, allocations: 0.5312 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001242/0.003697, allocations: 51.27 kB / 0.7316 GB, free: 2.145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.003725, allocations: 55.34 kB / 0.7317 GB, free: 2.078 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.003773, allocations: 107.6 kB / 0.7318 GB, free: 1.961 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.003781, allocations: 25.7 kB / 0.7318 GB, free: 1.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.003803, allocations: 85.58 kB / 0.7319 GB, free: 1.844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.003818, allocations: 3.953 kB / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.003846, allocations: 18.47 kB / 0.7319 GB, free: 1.816 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.003911, allocations: 314.8 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.00392, allocations: 0.6562 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.003928, allocations: 5.781 kB / 0.7322 GB, free: 1.496 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.003951, allocations: 12.8 kB / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.003953, allocations: 4 kB / 0.7322 GB, free: 1.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.059e-05/0.003993, allocations: 42.5 kB / 0.7322 GB, free: 1.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.004005, allocations: 4.766 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.004009, allocations: 0.9062 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.004018, allocations: 0 / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.004095, allocations: 12.8 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.004098, allocations: 4 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.004114, allocations: 4 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-06/0.004117, allocations: 0.7188 kB / 0.7323 GB, free: 1.406 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 4.963e-05/0.004166, allocations: 111 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.004178, allocations: 1.062 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.004197, allocations: 7.297 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.0042, allocations: 7.984 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.004203, allocations: 4.781 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.004205, allocations: 0.875 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.606e-05/0.004281, allocations: 70.48 kB / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004282, allocations: 4.594 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.00431, allocations: 7.984 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.004316, allocations: 5.156 kB / 0.7325 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004318, allocations: 0 / 0.7325 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.004321, allocations: 0 / 0.7325 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.004322, allocations: 1.031 kB / 0.7325 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.004324, allocations: 4.922 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.424e-05/0.004398, allocations: 132.1 kB / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-06/0.004405, allocations: 0 / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.177e-05/0.004437, allocations: 9.766 kB / 0.7326 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.004468, allocations: 4 kB / 0.7326 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.004471, allocations: 3.984 kB / 0.7326 GB, free: 1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.859e-06/0.00448, allocations: 12.8 kB / 0.7326 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.00448, allocations: 1.219 kB / 0.7326 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001053/0.004586, allocations: 4 kB / 0.7327 GB, free: 0.9805 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 6.863e-05/0.004654, allocations: 82.09 kB / 0.7327 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.601e-05/0.00471, allocations: 17.38 kB / 0.7327 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.004714, allocations: 0.75 kB / 0.7327 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.00473, allocations: 8.859 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.004862, allocations: 13.34 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.005184, allocations: 117.4 kB / 0.7329 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.005214, allocations: 55.36 kB / 0.7329 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.005243, allocations: 1.031 kB / 0.7329 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.00529, allocations: 53.11 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/0.00529, allocations: 3.938 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of Templates: time 0.00208/0.00737, allocations: 0.6558 MB / 0.7336 GB, free: 15.95 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.ref.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.888154909946024]